diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs index ceca120b560..5794ce80605 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs @@ -35,8 +35,8 @@ public ResourceConnectionItemRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Delete a resourceConnection object. - /// Find more info here + /// Delete an operationalInsightsConnection object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a resourceConnection object. - /// Find more info here + /// Read the properties and relationships of an operationalInsightsConnection object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a resourceConnection object. + /// Delete an operationalInsightsConnection object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a resourceConnection object. + /// Read the properties and relationships of an operationalInsightsConnection object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -184,7 +184,7 @@ public partial class ResourceConnectionItemRequestBuilderDeleteRequestConfigurat { } /// - /// Read the properties and relationships of a resourceConnection object. + /// Read the properties and relationships of an operationalInsightsConnection object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ResourceConnectionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs index 353be307e28..5cb5cb45f69 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs @@ -59,8 +59,8 @@ public UpdatableAssetItemRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. - /// Find more info here + /// Delete an updatableAsset object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -131,7 +131,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. + /// Delete an updatableAsset object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.cs b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.cs index d9fde2a909a..be33c4a0620 100644 --- a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Invite/InviteRequestBuilder.cs @@ -35,8 +35,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. - /// Find more info here + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs index 8ac8e389162..e04cd2aac0f 100644 --- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs @@ -54,7 +54,7 @@ public TeamsAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + /// List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. /// Find more info here /// /// A @@ -104,7 +104,7 @@ public TeamsAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + /// List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.AppCatalogs.TeamsApps.TeamsAppsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + /// List apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TeamsAppsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs index c25ffa0b619..34ab49942b6 100644 --- a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs +++ b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs @@ -23,6 +23,7 @@ using Microsoft.Graph.Beta.BookingBusinesses; using Microsoft.Graph.Beta.BookingCurrencies; using Microsoft.Graph.Beta.BusinessFlowTemplates; +using Microsoft.Graph.Beta.CertificateAuthorities; using Microsoft.Graph.Beta.CertificateBasedAuthConfiguration; using Microsoft.Graph.Beta.Chats; using Microsoft.Graph.Beta.Commands; @@ -118,6 +119,7 @@ using Microsoft.Graph.Beta.Teams; using Microsoft.Graph.Beta.TeamsTemplates; using Microsoft.Graph.Beta.Teamwork; +using Microsoft.Graph.Beta.Templates; using Microsoft.Graph.Beta.TenantRelationships; using Microsoft.Graph.Beta.TermStore; using Microsoft.Graph.Beta.ThreatSubmission; @@ -249,6 +251,11 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.BusinessFlowTemplates.BusinessFlowTemplatesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the certificateAuthorityPath singleton. + public global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateAuthoritiesRequestBuilder CertificateAuthorities + { + get => new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateAuthoritiesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the collection of certificateBasedAuthConfiguration entities. public global::Microsoft.Graph.Beta.CertificateBasedAuthConfiguration.CertificateBasedAuthConfigurationRequestBuilder CertificateBasedAuthConfiguration { @@ -699,6 +706,11 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamworkRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the template singleton. + public global::Microsoft.Graph.Beta.Templates.TemplatesRequestBuilder Templates + { + get => new global::Microsoft.Graph.Beta.Templates.TemplatesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the tenantRelationship singleton. public global::Microsoft.Graph.Beta.TenantRelationships.TenantRelationshipsRequestBuilder TenantRelationships { diff --git a/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateAuthoritiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateAuthoritiesRequestBuilder.cs new file mode 100644 index 00000000000..5098282df36 --- /dev/null +++ b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateAuthoritiesRequestBuilder.cs @@ -0,0 +1,192 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations; +using Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.CertificateAuthorities +{ + /// + /// Provides operations to manage the certificateAuthorityPath singleton. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CertificateAuthoritiesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the certificateBasedApplicationConfigurations property of the microsoft.graph.certificateAuthorityPath entity. + public global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.CertificateBasedApplicationConfigurationsRequestBuilder CertificateBasedApplicationConfigurations + { + get => new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.CertificateBasedApplicationConfigurationsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. + public global::Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder MutualTlsOauthConfigurations + { + get => new global::Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder(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 CertificateAuthoritiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities{?%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 CertificateAuthoritiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get certificateAuthorities + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CertificateAuthorityPath.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update certificateAuthorities + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CertificateAuthorityPath body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CertificateAuthorityPath 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CertificateAuthorityPath.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get certificateAuthorities + /// + /// A + /// Configuration 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 certificateAuthorities + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CertificateAuthorityPath body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CertificateAuthorityPath 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.Beta.CertificateAuthorities.CertificateAuthoritiesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateAuthoritiesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get certificateAuthorities + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CertificateAuthoritiesRequestBuilderGetQueryParameters + { + /// 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 CertificateAuthoritiesRequestBuilderGetRequestConfiguration : 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 CertificateAuthoritiesRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/CertificateBasedApplicationConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/CertificateBasedApplicationConfigurationsRequestBuilder.cs new file mode 100644 index 00000000000..e82afa84874 --- /dev/null +++ b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/CertificateBasedApplicationConfigurationsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count; +using Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations +{ + /// + /// Provides operations to manage the certificateBasedApplicationConfigurations property of the microsoft.graph.certificateAuthorityPath entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CertificateBasedApplicationConfigurationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the certificateBasedApplicationConfigurations property of the microsoft.graph.certificateAuthorityPath entity. + /// The unique identifier of certificateBasedApplicationConfiguration + /// A + public global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("certificateBasedApplicationConfiguration%2Did", position); + return new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder(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 CertificateBasedApplicationConfigurationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations{?%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 CertificateBasedApplicationConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to certificateBasedApplicationConfigurations for certificateAuthorities + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to certificateBasedApplicationConfigurations for certificateAuthorities + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration 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.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.CertificateBasedApplicationConfigurationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.CertificateBasedApplicationConfigurationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters + { + /// 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 CertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration : 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 CertificateBasedApplicationConfigurationsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..7d04026053f --- /dev/null +++ b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.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}/certificateAuthorities/certificateBasedApplicationConfigurations/$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}/certificateAuthorities/certificateBasedApplicationConfigurations/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.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/CertificateAuthorities/CertificateBasedApplicationConfigurations/Item/CertificateBasedApplicationConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Item/CertificateBasedApplicationConfigurationItemRequestBuilder.cs new file mode 100644 index 00000000000..a44d55411ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Item/CertificateBasedApplicationConfigurationItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item +{ + /// + /// Provides operations to manage the certificateBasedApplicationConfigurations property of the microsoft.graph.certificateAuthorityPath entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CertificateBasedApplicationConfigurationItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the trustedCertificateAuthorities property of the microsoft.graph.trustedCertificateAuthorityAsEntityBase entity. + public global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.TrustedCertificateAuthoritiesRequestBuilder TrustedCertificateAuthorities + { + get => new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.TrustedCertificateAuthoritiesRequestBuilder(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 CertificateBasedApplicationConfigurationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%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 CertificateBasedApplicationConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property certificateBasedApplicationConfigurations for certificateAuthorities + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property certificateBasedApplicationConfigurations in certificateAuthorities + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property certificateBasedApplicationConfigurations for certificateAuthorities + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property certificateBasedApplicationConfigurations in certificateAuthorities + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration 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.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder(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 CertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters + { + /// 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 CertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration : 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 CertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Item/TrustedCertificateAuthorities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Item/TrustedCertificateAuthorities/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..22dd87a279e --- /dev/null +++ b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Item/TrustedCertificateAuthorities/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.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}/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}/trustedCertificateAuthorities/$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}/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}/trustedCertificateAuthorities/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.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/CertificateAuthorities/CertificateBasedApplicationConfigurations/Item/TrustedCertificateAuthorities/Item/CertificateAuthorityAsEntityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Item/TrustedCertificateAuthorities/Item/CertificateAuthorityAsEntityItemRequestBuilder.cs new file mode 100644 index 00000000000..78a59429d8f --- /dev/null +++ b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Item/TrustedCertificateAuthorities/Item/CertificateAuthorityAsEntityItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item +{ + /// + /// Provides operations to manage the trustedCertificateAuthorities property of the microsoft.graph.trustedCertificateAuthorityAsEntityBase entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CertificateAuthorityAsEntityItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CertificateAuthorityAsEntityItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}/trustedCertificateAuthorities/{certificateAuthorityAsEntity%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 CertificateAuthorityAsEntityItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}/trustedCertificateAuthorities/{certificateAuthorityAsEntity%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property trustedCertificateAuthorities for certificateAuthorities + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Collection of trusted certificate authorities. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property trustedCertificateAuthorities in certificateAuthorities + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property trustedCertificateAuthorities for certificateAuthorities + /// + /// A + /// Configuration 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 trusted certificate authorities. + /// + /// A + /// Configuration 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 trustedCertificateAuthorities in certificateAuthorities + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity 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.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder(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 CertificateAuthorityAsEntityItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Collection of trusted certificate authorities. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CertificateAuthorityAsEntityItemRequestBuilderGetQueryParameters + { + /// 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 CertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration : 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 CertificateAuthorityAsEntityItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Item/TrustedCertificateAuthorities/TrustedCertificateAuthoritiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Item/TrustedCertificateAuthorities/TrustedCertificateAuthoritiesRequestBuilder.cs new file mode 100644 index 00000000000..7a8ccf9467e --- /dev/null +++ b/src/Microsoft.Graph/Generated/CertificateAuthorities/CertificateBasedApplicationConfigurations/Item/TrustedCertificateAuthorities/TrustedCertificateAuthoritiesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count; +using Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities +{ + /// + /// Provides operations to manage the trustedCertificateAuthorities property of the microsoft.graph.trustedCertificateAuthorityAsEntityBase entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TrustedCertificateAuthoritiesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the trustedCertificateAuthorities property of the microsoft.graph.trustedCertificateAuthorityAsEntityBase entity. + /// The unique identifier of certificateAuthorityAsEntity + /// A + public global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("certificateAuthorityAsEntity%2Did", position); + return new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder(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 TrustedCertificateAuthoritiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}/trustedCertificateAuthorities{?%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 TrustedCertificateAuthoritiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}/trustedCertificateAuthorities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Collection of trusted certificate authorities. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to trustedCertificateAuthorities for certificateAuthorities + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Collection of trusted certificate authorities. + /// + /// A + /// Configuration 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 trustedCertificateAuthorities for certificateAuthorities + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity 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.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.TrustedCertificateAuthoritiesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.TrustedCertificateAuthoritiesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Collection of trusted certificate authorities. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TrustedCertificateAuthoritiesRequestBuilderGetQueryParameters + { + /// 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 TrustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration : 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 TrustedCertificateAuthoritiesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/CertificateAuthorities/MutualTlsOauthConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateAuthorities/MutualTlsOauthConfigurations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..3972f54c9b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/CertificateAuthorities/MutualTlsOauthConfigurations/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.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}/certificateAuthorities/mutualTlsOauthConfigurations/$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}/certificateAuthorities/mutualTlsOauthConfigurations/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.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/CertificateAuthorities/MutualTlsOauthConfigurations/Item/MutualTlsOauthConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateAuthorities/MutualTlsOauthConfigurations/Item/MutualTlsOauthConfigurationItemRequestBuilder.cs new file mode 100644 index 00000000000..894b86e002e --- /dev/null +++ b/src/Microsoft.Graph/Generated/CertificateAuthorities/MutualTlsOauthConfigurations/Item/MutualTlsOauthConfigurationItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item +{ + /// + /// Provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MutualTlsOauthConfigurationItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MutualTlsOauthConfigurationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities/mutualTlsOauthConfigurations/{mutualTlsOauthConfiguration%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 MutualTlsOauthConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities/mutualTlsOauthConfigurations/{mutualTlsOauthConfiguration%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property mutualTlsOauthConfigurations for certificateAuthorities + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get mutualTlsOauthConfigurations from certificateAuthorities + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property mutualTlsOauthConfigurations in certificateAuthorities + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property mutualTlsOauthConfigurations for certificateAuthorities + /// + /// A + /// Configuration 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 mutualTlsOauthConfigurations from certificateAuthorities + /// + /// A + /// Configuration 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 mutualTlsOauthConfigurations in certificateAuthorities + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration 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.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder(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 MutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get mutualTlsOauthConfigurations from certificateAuthorities + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters + { + /// 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 MutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration : 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 MutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/CertificateAuthorities/MutualTlsOauthConfigurations/MutualTlsOauthConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateAuthorities/MutualTlsOauthConfigurations/MutualTlsOauthConfigurationsRequestBuilder.cs new file mode 100644 index 00000000000..be1bceea95b --- /dev/null +++ b/src/Microsoft.Graph/Generated/CertificateAuthorities/MutualTlsOauthConfigurations/MutualTlsOauthConfigurationsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count; +using Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations +{ + /// + /// Provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MutualTlsOauthConfigurationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. + /// The unique identifier of mutualTlsOauthConfiguration + /// A + public global::Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mutualTlsOauthConfiguration%2Did", position); + return new global::Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder(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 MutualTlsOauthConfigurationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities/mutualTlsOauthConfigurations{?%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 MutualTlsOauthConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/certificateAuthorities/mutualTlsOauthConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get mutualTlsOauthConfigurations from certificateAuthorities + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to mutualTlsOauthConfigurations for certificateAuthorities + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get mutualTlsOauthConfigurations from certificateAuthorities + /// + /// A + /// Configuration 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 mutualTlsOauthConfigurations for certificateAuthorities + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration 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.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get mutualTlsOauthConfigurations from certificateAuthorities + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters + { + /// 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 MutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration : 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 MutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs index d19874b5b3e..085b0b4f9f1 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.Beta.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel or a chat. - /// Find more info here + /// Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel or a chat. + /// Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs index 5b365792ed9..999f332811c 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs @@ -35,8 +35,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. - /// Find more info here + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index d9763b643eb..b36caa4ad16 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs index 5c4c054bec6..8b4c3bd0de6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphAndroidForWorkApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 24bab54b5b5..1c717325622 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs index 67a7cfffe10..da0ddb9ed14 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 2f67c961ac2..a44eacf77bd 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs index 01ce854aff2..7fd862da2c8 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphAndroidManagedStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index bf05a162a51..46e168feb65 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs index a6112fb20e4..e2cd2fa855d 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 6de580705ce..d8a3600e99e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs index 4c0f4f48d8a..3527d864392 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index bac4a8ea6d8..60ecd6b0262 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs index 4a6e8d2c672..02fc98f361d 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index e6c5ff24f66..eb30640bf49 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs index d82207da425..a0ee863c8ad 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index ee511595a8d..e0058e10c47 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs index c0f1823b9c7..9a31348407b 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 88f556b0457..ea4c2284be6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs index f13f70db936..508f0f42f2c 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index e72ec48c851..c6661debb23 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs index 3a4f866d7bb..95800eee023 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphMacOSPkgApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 3187c5c346c..cb0ef8b69dd 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs index afcb03042d5..e37f7790581 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index c57f26f98f7..3be31a3d98d 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs index 869d2d00a18..d60de5e4db4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 92eed8abcd0..a9510c02797 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs index 44da5d374bf..35b21b0645c 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index b0654c460d6..d0a0d0b3ea4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs index 3382c29b259..90c58228e38 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 657e270d94d..9e092813d16 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs index 97f819ff21c..75acaa5b72b 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 65e290d0fb1..a211abfd039 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs index 414e8e4bae2..0a58beb7121 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWinGetApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index cb4b1070a74..e609fb0586d 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs index 3c52558da6e..d4ea0bcf5ea 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 530f523d6a8..3bd632d837a 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs index 602b46f77f8..b099cb95b2a 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index fefd972e411..8d23dc70a23 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs index fee35cec435..38352b793b9 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 943083e601d..1b3d4ccb464 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs index 3ec862aca5a..66c682b72a4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 4fcd9bfad5f..6d0925aa2f2 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs index e305b19df9c..f243ad62d21 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 1b462157749..047bc7e1a2a 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs index ec6dea89815..56462d5515f 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs index 97f60809e9d..fb8008b7120 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class DeviceComplianceScheduledActionForRuleItemRequestBuilderDel { } /// - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs index b32236608d4..ada77a13392 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs @@ -54,7 +54,7 @@ public ScheduledActionsForRuleRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public ScheduledActionsForRuleRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.ScheduledActionsForRuleRequestBuilder(rawUrl, RequestAdapter); } /// - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ScheduledActionsForRuleRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/CloudPcProvisioningPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/CloudPcProvisioningPolicyItemRequestBuilder.cs index e6f4bd67d09..bd677cefd6c 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/CloudPcProvisioningPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/CloudPcProvisioningPolicyItemRequestBuilder.cs @@ -3,6 +3,9 @@ using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Apply; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assign; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments; +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult; +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule; +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -36,6 +39,21 @@ public partial class CloudPcProvisioningPolicyItemRequestBuilder : BaseRequestBu { get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.AssignmentsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the retrievePolicyApplyActionResult method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.RetrievePolicyApplyActionResultRequestBuilder RetrievePolicyApplyActionResult + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.RetrievePolicyApplyActionResultRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the retrievePolicyApplySchedule method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.RetrievePolicyApplyScheduleRequestBuilder RetrievePolicyApplySchedule + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.RetrievePolicyApplyScheduleRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the schedulePolicyApplyTask method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskRequestBuilder SchedulePolicyApplyTask + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/RetrievePolicyApplyActionResult/RetrievePolicyApplyActionResultRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/RetrievePolicyApplyActionResult/RetrievePolicyApplyActionResultRequestBuilder.cs new file mode 100644 index 00000000000..0d7881e4b00 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/RetrievePolicyApplyActionResult/RetrievePolicyApplyActionResultRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult +{ + /// + /// Provides operations to call the retrievePolicyApplyActionResult method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrievePolicyApplyActionResultRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrievePolicyApplyActionResultRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/retrievePolicyApplyActionResult()", 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 RetrievePolicyApplyActionResultRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/retrievePolicyApplyActionResult()", rawUrl) + { + } + /// + /// Invoke function retrievePolicyApplyActionResult + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcPolicyApplyActionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrievePolicyApplyActionResult + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.RetrievePolicyApplyActionResultRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.RetrievePolicyApplyActionResultRequestBuilder(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 RetrievePolicyApplyActionResultRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/RetrievePolicyApplySchedule/RetrievePolicyApplyScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/RetrievePolicyApplySchedule/RetrievePolicyApplyScheduleRequestBuilder.cs new file mode 100644 index 00000000000..6fd8b0f95fc --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/RetrievePolicyApplySchedule/RetrievePolicyApplyScheduleRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule +{ + /// + /// Provides operations to call the retrievePolicyApplySchedule method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RetrievePolicyApplyScheduleRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RetrievePolicyApplyScheduleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/retrievePolicyApplySchedule()", 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 RetrievePolicyApplyScheduleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/retrievePolicyApplySchedule()", rawUrl) + { + } + /// + /// Invoke function retrievePolicyApplySchedule + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcPolicyScheduledApplyActionDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function retrievePolicyApplySchedule + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.RetrievePolicyApplyScheduleRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.RetrievePolicyApplyScheduleRequestBuilder(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 RetrievePolicyApplyScheduleRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/SchedulePolicyApplyTask/SchedulePolicyApplyTaskPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/SchedulePolicyApplyTask/SchedulePolicyApplyTaskPostRequestBody.cs new file mode 100644 index 00000000000..e7154bded77 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/SchedulePolicyApplyTask/SchedulePolicyApplyTaskPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SchedulePolicyApplyTaskPostRequestBody : 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 scheduledRule property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPcPolicyScheduledApplyActionDetail? ScheduledRule + { + get { return BackingStore?.Get("scheduledRule"); } + set { BackingStore?.Set("scheduledRule", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPcPolicyScheduledApplyActionDetail ScheduledRule + { + get { return BackingStore?.Get("scheduledRule"); } + set { BackingStore?.Set("scheduledRule", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SchedulePolicyApplyTaskPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "scheduledRule", n => { ScheduledRule = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcPolicyScheduledApplyActionDetail.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("scheduledRule", ScheduledRule); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/SchedulePolicyApplyTask/SchedulePolicyApplyTaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/SchedulePolicyApplyTask/SchedulePolicyApplyTaskRequestBuilder.cs new file mode 100644 index 00000000000..cc6408f1159 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/SchedulePolicyApplyTask/SchedulePolicyApplyTaskRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask +{ + /// + /// Provides operations to call the schedulePolicyApplyTask method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SchedulePolicyApplyTaskRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SchedulePolicyApplyTaskRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/schedulePolicyApplyTask", 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 SchedulePolicyApplyTaskRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/schedulePolicyApplyTask", rawUrl) + { + } + /// + /// Invoke action schedulePolicyApplyTask + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskPostRequestBody 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action schedulePolicyApplyTask + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskPostRequestBody 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.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskRequestBuilder(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 SchedulePolicyApplyTaskRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Devices/Item/DeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/DeviceItemRequestBuilder.cs index c666b116750..94f1e43078c 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/DeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/DeviceItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Devices.Item.CheckMemberGroups; using Microsoft.Graph.Beta.Devices.Item.CheckMemberObjects; using Microsoft.Graph.Beta.Devices.Item.Commands; +using Microsoft.Graph.Beta.Devices.Item.DeviceTemplate; using Microsoft.Graph.Beta.Devices.Item.Extensions; using Microsoft.Graph.Beta.Devices.Item.GetMemberGroups; using Microsoft.Graph.Beta.Devices.Item.GetMemberObjects; @@ -45,6 +46,11 @@ public partial class DeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Devices.Item.Commands.CommandsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. + public global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder DeviceTemplate + { + get => new global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the extensions property of the microsoft.graph.device entity. public global::Microsoft.Graph.Beta.Devices.Item.Extensions.ExtensionsRequestBuilder Extensions { diff --git a/src/Microsoft.Graph/Generated/Devices/Item/DeviceTemplate/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/DeviceTemplate/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..82c09b617bd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Devices/Item/DeviceTemplate/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.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}/devices/{device%2Did}/deviceTemplate/$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}/devices/{device%2Did}/deviceTemplate/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.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/Devices/Item/DeviceTemplate/DeviceTemplateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/DeviceTemplate/DeviceTemplateRequestBuilder.cs new file mode 100644 index 00000000000..948979e2bc6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Devices/Item/DeviceTemplate/DeviceTemplateRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count; +using Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Devices.Item.DeviceTemplate +{ + /// + /// Provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. + /// The unique identifier of deviceTemplate + /// A + public global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("deviceTemplate%2Did", position); + return new global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder(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 DeviceTemplateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/deviceTemplate{?%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 DeviceTemplateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/deviceTemplate{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get deviceTemplate from devices + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceTemplate from devices + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceTemplate from devices + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateRequestBuilderGetQueryParameters + { + /// 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 DeviceTemplateRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Devices/Item/DeviceTemplate/Item/DeviceTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/DeviceTemplate/Item/DeviceTemplateItemRequestBuilder.cs new file mode 100644 index 00000000000..301571fbf94 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Devices/Item/DeviceTemplate/Item/DeviceTemplateItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item +{ + /// + /// Provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceTemplateItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/deviceTemplate/{deviceTemplate%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 DeviceTemplateItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/deviceTemplate/{deviceTemplate%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get deviceTemplate from devices + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceTemplate from devices + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceTemplate from devices + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateItemRequestBuilderGetQueryParameters + { + /// 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 DeviceTemplateItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CertificateAuthorities/CertificateAuthoritiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CertificateAuthorities/CertificateAuthoritiesRequestBuilder.cs index 01ac0168a16..4151fd89c58 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/CertificateAuthorities/CertificateAuthoritiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CertificateAuthorities/CertificateAuthoritiesRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.CertificateBasedApplicationConfigurations; +using Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -24,6 +25,11 @@ public partial class CertificateAuthoritiesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.CertificateBasedApplicationConfigurations.CertificateBasedApplicationConfigurationsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. + public global::Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder MutualTlsOauthConfigurations + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CertificateAuthorities/MutualTlsOauthConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CertificateAuthorities/MutualTlsOauthConfigurations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..cc8a4e23c4c --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CertificateAuthorities/MutualTlsOauthConfigurations/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.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}/directory/certificateAuthorities/mutualTlsOauthConfigurations/$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}/directory/certificateAuthorities/mutualTlsOauthConfigurations/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.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/DirectoryNamespace/CertificateAuthorities/MutualTlsOauthConfigurations/Item/MutualTlsOauthConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CertificateAuthorities/MutualTlsOauthConfigurations/Item/MutualTlsOauthConfigurationItemRequestBuilder.cs new file mode 100644 index 00000000000..c02d5d0a1fe --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CertificateAuthorities/MutualTlsOauthConfigurations/Item/MutualTlsOauthConfigurationItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item +{ + /// + /// Provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MutualTlsOauthConfigurationItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MutualTlsOauthConfigurationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/certificateAuthorities/mutualTlsOauthConfigurations/{mutualTlsOauthConfiguration%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 MutualTlsOauthConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/certificateAuthorities/mutualTlsOauthConfigurations/{mutualTlsOauthConfiguration%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property mutualTlsOauthConfigurations for directory + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get mutualTlsOauthConfigurations from directory + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property mutualTlsOauthConfigurations in directory + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property mutualTlsOauthConfigurations for directory + /// + /// A + /// Configuration 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 mutualTlsOauthConfigurations from directory + /// + /// A + /// Configuration 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 mutualTlsOauthConfigurations in directory + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration 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.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder(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 MutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get mutualTlsOauthConfigurations from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters + { + /// 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 MutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration : 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 MutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CertificateAuthorities/MutualTlsOauthConfigurations/MutualTlsOauthConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CertificateAuthorities/MutualTlsOauthConfigurations/MutualTlsOauthConfigurationsRequestBuilder.cs new file mode 100644 index 00000000000..1340f2fbbe4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CertificateAuthorities/MutualTlsOauthConfigurations/MutualTlsOauthConfigurationsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count; +using Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations +{ + /// + /// Provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MutualTlsOauthConfigurationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. + /// The unique identifier of mutualTlsOauthConfiguration + /// A + public global::Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mutualTlsOauthConfiguration%2Did", position); + return new global::Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder(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 MutualTlsOauthConfigurationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/certificateAuthorities/mutualTlsOauthConfigurations{?%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 MutualTlsOauthConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/certificateAuthorities/mutualTlsOauthConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get mutualTlsOauthConfigurations from directory + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to mutualTlsOauthConfigurations for directory + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get mutualTlsOauthConfigurations from directory + /// + /// A + /// Configuration 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 mutualTlsOauthConfigurations for directory + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration 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.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get mutualTlsOauthConfigurations from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters + { + /// 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 MutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration : 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 MutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs index 4c2d1fda242..949222cde77 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs @@ -21,6 +21,7 @@ using Microsoft.Graph.Beta.DirectoryNamespace.Subscriptions; using Microsoft.Graph.Beta.DirectoryNamespace.SubscriptionsWithCommerceSubscriptionId; using Microsoft.Graph.Beta.DirectoryNamespace.SubscriptionsWithOcpSubscriptionId; +using Microsoft.Graph.Beta.DirectoryNamespace.Templates; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -134,6 +135,11 @@ public partial class DirectoryRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DirectoryNamespace.Subscriptions.SubscriptionsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the templates property of the microsoft.graph.directory entity. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.TemplatesRequestBuilder Templates + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.TemplatesRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f06c03e283a --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.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}/directory/templates/deviceTemplates/$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}/directory/templates/deviceTemplates/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.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/DirectoryNamespace/Templates/DeviceTemplates/DeviceTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/DeviceTemplatesRequestBuilder.cs new file mode 100644 index 00000000000..e66976e4b03 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/DeviceTemplatesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count; +using Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates +{ + /// + /// Provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplatesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. + /// The unique identifier of deviceTemplate + /// A + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("deviceTemplate%2Did", position); + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder(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 DeviceTemplatesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates{?%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 DeviceTemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get deviceTemplates from directory + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to deviceTemplates for directory + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.DeviceTemplate body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.DeviceTemplate 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceTemplates from directory + /// + /// A + /// Configuration 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 deviceTemplates for directory + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.DeviceTemplate body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.DeviceTemplate 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.Beta.DirectoryNamespace.Templates.DeviceTemplates.DeviceTemplatesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.DeviceTemplatesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceTemplates from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplatesRequestBuilderGetQueryParameters + { + /// 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 DeviceTemplatesRequestBuilderGetRequestConfiguration : 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 DeviceTemplatesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/CreateDeviceFromTemplate/CreateDeviceFromTemplatePostRequestBody.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/CreateDeviceFromTemplate/CreateDeviceFromTemplatePostRequestBody.cs new file mode 100644 index 00000000000..ed12cff9d90 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/CreateDeviceFromTemplate/CreateDeviceFromTemplatePostRequestBody.cs @@ -0,0 +1,162 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CreateDeviceFromTemplatePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The accountEnabled property + public bool? AccountEnabled + { + get { return BackingStore?.Get("accountEnabled"); } + set { BackingStore?.Set("accountEnabled", 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); } + } + /// The alternativeNames property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AlternativeNames + { + get { return BackingStore?.Get?>("alternativeNames"); } + set { BackingStore?.Set("alternativeNames", value); } + } +#nullable restore +#else + public List AlternativeNames + { + get { return BackingStore?.Get>("alternativeNames"); } + set { BackingStore?.Set("alternativeNames", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The externalDeviceId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExternalDeviceId + { + get { return BackingStore?.Get("externalDeviceId"); } + set { BackingStore?.Set("externalDeviceId", value); } + } +#nullable restore +#else + public string ExternalDeviceId + { + get { return BackingStore?.Get("externalDeviceId"); } + set { BackingStore?.Set("externalDeviceId", value); } + } +#endif + /// The externalSourceName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExternalSourceName + { + get { return BackingStore?.Get("externalSourceName"); } + set { BackingStore?.Set("externalSourceName", value); } + } +#nullable restore +#else + public string ExternalSourceName + { + get { return BackingStore?.Get("externalSourceName"); } + set { BackingStore?.Set("externalSourceName", value); } + } +#endif + /// The keyCredential property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.KeyCredential? KeyCredential + { + get { return BackingStore?.Get("keyCredential"); } + set { BackingStore?.Set("keyCredential", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.KeyCredential KeyCredential + { + get { return BackingStore?.Get("keyCredential"); } + set { BackingStore?.Set("keyCredential", value); } + } +#endif + /// The operatingSystemVersion property +#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 CreateDeviceFromTemplatePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "accountEnabled", n => { AccountEnabled = n.GetBoolValue(); } }, + { "alternativeNames", n => { AlternativeNames = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "externalDeviceId", n => { ExternalDeviceId = n.GetStringValue(); } }, + { "externalSourceName", n => { ExternalSourceName = n.GetStringValue(); } }, + { "keyCredential", n => { KeyCredential = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.KeyCredential.CreateFromDiscriminatorValue); } }, + { "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.WriteBoolValue("accountEnabled", AccountEnabled); + writer.WriteCollectionOfPrimitiveValues("alternativeNames", AlternativeNames); + writer.WriteStringValue("externalDeviceId", ExternalDeviceId); + writer.WriteStringValue("externalSourceName", ExternalSourceName); + writer.WriteObjectValue("keyCredential", KeyCredential); + writer.WriteStringValue("operatingSystemVersion", OperatingSystemVersion); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/CreateDeviceFromTemplate/CreateDeviceFromTemplateRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/CreateDeviceFromTemplate/CreateDeviceFromTemplateRequestBuilder.cs new file mode 100644 index 00000000000..8196f4f4ef3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/CreateDeviceFromTemplate/CreateDeviceFromTemplateRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate +{ + /// + /// Provides operations to call the createDeviceFromTemplate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreateDeviceFromTemplateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreateDeviceFromTemplateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/createDeviceFromTemplate", 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 CreateDeviceFromTemplateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/createDeviceFromTemplate", rawUrl) + { + } + /// + /// Invoke action createDeviceFromTemplate + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action createDeviceFromTemplate + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody 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.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplateRequestBuilder(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 CreateDeviceFromTemplateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceInstances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceInstances/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..12b9a32a59f --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceInstances/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.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}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances/$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}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.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/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceInstances/DeviceInstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceInstances/DeviceInstancesRequestBuilder.cs new file mode 100644 index 00000000000..ae45b9d082b --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceInstances/DeviceInstancesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count; +using Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances +{ + /// + /// Provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceInstancesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. + /// The unique identifier of device + /// A + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("device%2Did", position); + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder(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 DeviceInstancesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances{?%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 DeviceInstancesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get deviceInstances from directory + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceInstances from directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.DeviceInstancesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.DeviceInstancesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceInstances from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceInstancesRequestBuilderGetQueryParameters + { + /// 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 DeviceInstancesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceInstances/Item/DeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceInstances/Item/DeviceItemRequestBuilder.cs new file mode 100644 index 00000000000..6e30a25156c --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceInstances/Item/DeviceItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item +{ + /// + /// Provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances/{device%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 DeviceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances/{device%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get deviceInstances from directory + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceInstances from directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceInstances from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceItemRequestBuilderGetQueryParameters + { + /// 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 DeviceItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceInstancesWithDeviceId/DeviceInstancesWithDeviceIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceInstancesWithDeviceId/DeviceInstancesWithDeviceIdRequestBuilder.cs new file mode 100644 index 00000000000..b0ff0893458 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceInstancesWithDeviceId/DeviceInstancesWithDeviceIdRequestBuilder.cs @@ -0,0 +1,127 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId +{ + /// + /// Provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceInstancesWithDeviceIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Alternate key of device + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceInstancesWithDeviceIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string deviceId = "") : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances(deviceId='{deviceId}'){?%24expand,%24select}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(deviceId)) PathParameters.Add("deviceId", deviceId); + } + /// + /// 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 DeviceInstancesWithDeviceIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances(deviceId='{deviceId}'){?%24expand,%24select}", rawUrl) + { + } + /// + /// Get deviceInstances from directory + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceInstances from directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.DeviceInstancesWithDeviceIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.DeviceInstancesWithDeviceIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceInstances from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters + { + /// 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 DeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceTemplateItemRequestBuilder.cs new file mode 100644 index 00000000000..c07e550386f --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/DeviceTemplateItemRequestBuilder.cs @@ -0,0 +1,258 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate; +using Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances; +using Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId; +using Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item +{ + /// + /// Provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the createDeviceFromTemplate method. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplateRequestBuilder CreateDeviceFromTemplate + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplateRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.DeviceInstancesRequestBuilder DeviceInstances + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.DeviceInstancesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.OwnersRequestBuilder Owners + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.OwnersRequestBuilder(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 DeviceTemplateItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%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 DeviceTemplateItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property deviceTemplates for directory + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. + /// + /// A + /// Alternate key of device + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.DeviceInstancesWithDeviceIdRequestBuilder DeviceInstancesWithDeviceId(string deviceId) + { + if(string.IsNullOrEmpty(deviceId)) throw new ArgumentNullException(nameof(deviceId)); + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.DeviceInstancesWithDeviceIdRequestBuilder(PathParameters, RequestAdapter, deviceId); + } + /// + /// Get deviceTemplates from directory + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property deviceTemplates in directory + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.DeviceTemplate body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.DeviceTemplate 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property deviceTemplates for directory + /// + /// A + /// Configuration 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 deviceTemplates from directory + /// + /// A + /// Configuration 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 deviceTemplates in directory + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.DeviceTemplate body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.DeviceTemplate 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.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder(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 DeviceTemplateItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get deviceTemplates from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateItemRequestBuilderGetQueryParameters + { + /// 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 DeviceTemplateItemRequestBuilderGetRequestConfiguration : 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 DeviceTemplateItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/Owners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/Owners/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..89908923b26 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/Owners/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.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}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/owners/$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}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/owners/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.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/DirectoryNamespace/Templates/DeviceTemplates/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs new file mode 100644 index 00000000000..fa17e6392b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item +{ + /// + /// Provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/owners/{directoryObject%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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/owners/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get owners from directory + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get owners from directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get owners from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DirectoryObjectItemRequestBuilderGetQueryParameters + { + /// 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 DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/Owners/OwnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/Owners/OwnersRequestBuilder.cs new file mode 100644 index 00000000000..86fb7d819db --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/DeviceTemplates/Item/Owners/OwnersRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count; +using Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners +{ + /// + /// Provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. + /// The unique identifier of directoryObject + /// A + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("directoryObject%2Did", position); + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder(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 OwnersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/owners{?%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 OwnersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/owners{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get owners from directory + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get owners from directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.OwnersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.OwnersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get owners from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnersRequestBuilderGetQueryParameters + { + /// 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 OwnersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/TemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/TemplatesRequestBuilder.cs new file mode 100644 index 00000000000..45eb021349b --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/Templates/TemplatesRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.Templates +{ + /// + /// Provides operations to manage the templates property of the microsoft.graph.directory entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TemplatesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. + public global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.DeviceTemplatesRequestBuilder DeviceTemplates + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.DeviceTemplatesRequestBuilder(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 TemplatesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates{?%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 TemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/templates{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property templates for directory + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get templates from directory + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Template.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property templates in directory + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Template body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Template 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Template.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property templates for directory + /// + /// A + /// Configuration 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 templates from directory + /// + /// A + /// Configuration 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 templates in directory + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Template body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Template 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.Beta.DirectoryNamespace.Templates.TemplatesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.Templates.TemplatesRequestBuilder(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 TemplatesRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get templates from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TemplatesRequestBuilderGetQueryParameters + { + /// 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 TemplatesRequestBuilderGetRequestConfiguration : 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 TemplatesRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 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 46069cb2337..5698378a270 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.Beta.Models.ItemRetentionLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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 + /// 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 /// /// A /// The request body @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// 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. + /// 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs index ce0cbf8464b..63a2476af28 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs @@ -35,8 +35,8 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Use this API to create a new Table. - /// Find more info here + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Table. + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs index b79ef75ce74..daf0f900f25 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs @@ -35,8 +35,8 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Use this API to create a new Table. - /// Find more info here + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Table. + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs index e31b53b0180..57863748432 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs @@ -118,8 +118,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an educationuser object. - /// Find more info here + /// Update the relatedContact collection of an educationUser object. + /// Find more info here /// /// A /// The request body @@ -182,7 +182,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an educationuser object. + /// Update the relatedContact collection of an educationUser object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs index ab0b19960cb..4473974fc40 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ExternalConnectors.ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. - /// Find more info here + /// Update the properties of an externalitem. + /// Find more info here /// /// A /// The request body @@ -158,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + /// Update the properties of an externalitem. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs index 19e50f7f6d1..0e11b5d679e 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs @@ -78,8 +78,8 @@ public DataConnectorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.IndustryDataConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new oneRosterApiDataConnector object. - /// Find more info here + /// Create a new azureDataLakeConnector object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new oneRosterApiDataConnector object. + /// Create a new azureDataLakeConnector object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.cs index 07c39db39fe..57b17067c12 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/Item/IndustryDataConnectorItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.IndustryDataConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an azureDataLakeConnector object. - /// Find more info here + /// Update the properties of a oneRosterApiDataConnector object. + /// Find more info here /// /// A /// The request body @@ -158,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an azureDataLakeConnector object. + /// Update the properties of a oneRosterApiDataConnector object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.cs index ab5001a9d19..46df9537b2a 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/InboundFlowsRequestBuilder.cs @@ -78,8 +78,8 @@ public InboundFlowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.InboundFlowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new inboundApiFlow object. - /// Find more info here + /// Create a new inboundFileFlow object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new inboundApiFlow object. + /// Create a new inboundFileFlow object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs index 1179573b3a9..9b8d4efa878 100644 --- a/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs @@ -108,8 +108,8 @@ public GroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. - /// Find more info here + /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + /// Find more info here /// /// A /// The request body @@ -153,7 +153,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. /// /// 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 bd8591e33d1..09914c4a443 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Get a group's conversation object. - /// Find more info here + /// Retrieve the properties and relationships of conversation object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a group's conversation object. + /// Retrieve the properties and relationships of conversation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -143,7 +143,7 @@ public partial class ConversationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Get a group's conversation object. + /// Retrieve the properties and relationships of conversation object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConversationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index 28fbfa68cfa..c50e541dacf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -34,8 +34,8 @@ public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. - /// Find more info here + /// 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 /// /// The request body /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Conversatio await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + /// 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/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs index 55beffa0336..f394821775c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -47,8 +47,8 @@ public ConversationThreadItemRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Delete conversationThread. - /// Find more info here + /// Delete a thread object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -120,7 +120,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete conversationThread. + /// Delete a thread object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index 742b6a93cd6..eff3b1f0387 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -34,8 +34,8 @@ public ReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. - /// Find more info here + /// 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 /// /// The request body /// Cancellation token to use when cancelling requests @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Threads.Ite await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + /// 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/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilder.cs index 09b4847d914..fb817fd3a02 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Evaluate/EvaluateRequestBuilder.cs @@ -41,6 +41,7 @@ public EvaluateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// Cancellation token to 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("Private preview for conditional access what If API as of 2024-07/PrivatePreview:WhatIfEvaluation")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PostAsEvaluatePostResponseAsync(global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -90,6 +91,7 @@ public EvaluateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b /// A /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete("Private preview for conditional access what If API as of 2024-07/PrivatePreview:WhatIfEvaluation")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluatePostRequestBody body, Action>? requestConfiguration = default) @@ -111,6 +113,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. /// /// A /// The raw URL to use for the request builder. + [Obsolete("Private preview for conditional access what If API as of 2024-07/PrivatePreview:WhatIfEvaluation")] public global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluateRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Identity.ConditionalAccess.Evaluate.EvaluateRequestBuilder(rawUrl, RequestAdapter); 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 a25ce413ec8..b724c8c0c65 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 an ipNamedLocation object. - /// Find more info here + /// Delete a namedLocation object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an ipNamedLocation object. + /// Delete a namedLocation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs index f385ad7b0ec..9478ca3eccb 100644 --- a/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/CustomAuthenticationExtensions/Item/CustomAuthenticationExtensionItemRequestBuilder.cs @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. - /// Find more info here + /// Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -132,7 +132,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. + /// Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -190,7 +190,7 @@ public partial class CustomAuthenticationExtensionItemRequestBuilderDeleteReques { } /// - /// Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. + /// Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs index aa050be7331..e4c1489b3a3 100644 --- a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs @@ -9,6 +9,7 @@ using Microsoft.Graph.Beta.Identity.ContinuousAccessEvaluationPolicy; using Microsoft.Graph.Beta.Identity.CustomAuthenticationExtensions; using Microsoft.Graph.Beta.Identity.IdentityProviders; +using Microsoft.Graph.Beta.Identity.ProductChanges; using Microsoft.Graph.Beta.Identity.UserFlowAttributes; using Microsoft.Graph.Beta.Identity.UserFlows; using Microsoft.Graph.Beta.Models.ODataErrors; @@ -74,6 +75,11 @@ public partial class IdentityRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Identity.IdentityProviders.IdentityProvidersRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. + public global::Microsoft.Graph.Beta.Identity.ProductChanges.ProductChangesRequestBuilder ProductChanges + { + get => new global::Microsoft.Graph.Beta.Identity.ProductChanges.ProductChangesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the userFlowAttributes property of the microsoft.graph.identityContainer entity. public global::Microsoft.Graph.Beta.Identity.UserFlowAttributes.UserFlowAttributesRequestBuilder UserFlowAttributes { diff --git a/src/Microsoft.Graph/Generated/Identity/ProductChanges/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ProductChanges/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..520517433fb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ProductChanges/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Identity.ProductChanges.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/productChanges/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/productChanges/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilder.cs new file mode 100644 index 00000000000..62e0ab958fa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ProductChanges/Item/ChangeItemBaseItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Identity.ProductChanges.Item +{ + /// + /// Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChangeItemBaseItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChangeItemBaseItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/productChanges/{changeItemBase%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 ChangeItemBaseItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/productChanges/{changeItemBase%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property productChanges for identity + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Represents entry point for Microsoft Entra product changes and planned new features. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChangeItemBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property productChanges in identity + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ChangeItemBase body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ChangeItemBase 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChangeItemBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property productChanges for identity + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Represents entry point for Microsoft Entra product changes and planned new features. + /// + /// A + /// Configuration 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 productChanges in identity + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ChangeItemBase body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ChangeItemBase 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.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder(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 ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Represents entry point for Microsoft Entra product changes and planned new features. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChangeItemBaseItemRequestBuilderGetQueryParameters + { + /// 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 ChangeItemBaseItemRequestBuilderGetRequestConfiguration : 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 ChangeItemBaseItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/ProductChanges/ProductChangesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ProductChanges/ProductChangesRequestBuilder.cs new file mode 100644 index 00000000000..3f4a397e558 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/ProductChanges/ProductChangesRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Identity.ProductChanges.Count; +using Microsoft.Graph.Beta.Identity.ProductChanges.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Identity.ProductChanges +{ + /// + /// Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProductChangesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. + /// The unique identifier of changeItemBase + /// A + public global::Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("changeItemBase%2Did", position); + return new global::Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder(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 ProductChangesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/productChanges{?%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 ProductChangesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/productChanges{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the changeItemBase objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChangeItemBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to productChanges for identity + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ChangeItemBase body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ChangeItemBase 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChangeItemBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the changeItemBase objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to productChanges for identity + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ChangeItemBase body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ChangeItemBase 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.Beta.Identity.ProductChanges.ProductChangesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Identity.ProductChanges.ProductChangesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the changeItemBase objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProductChangesRequestBuilderGetQueryParameters + { + /// 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 ProductChangesRequestBuilderGetRequestConfiguration : 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 ProductChangesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index 0be26682484..3dbbcc5e915 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. - /// Find more info here + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -83,8 +83,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. - /// Find more info here + /// Update the properties of an accessPackageAssignmentWorkflowExtension object. + /// Find more info here /// /// A /// The request body @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -150,7 +150,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + /// Update the properties of an accessPackageAssignmentWorkflowExtension object. /// /// A /// The request body @@ -191,7 +191,7 @@ public partial class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfig { } /// - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CustomCalloutExtensionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs index e07d700fcfd..b04adb09075 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs @@ -35,8 +35,8 @@ public CustomAccessPackageWorkflowExtensionItemRequestBuilder(string rawUrl, IRe { } /// - /// Delete a customAccessPackageWorkflowExtension 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:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. - /// Find more info here + /// 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:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.CustomAccessPackageWorkflowExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a customAccessPackageWorkflowExtension 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:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. + /// 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:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. 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 b1eb67cc485..e1a1df80962 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -117,8 +117,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an accessPackage object. - /// Find more info here + /// 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 /// /// A /// Cancellation token to use when cancelling requests @@ -186,7 +186,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an accessPackage object. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -244,7 +244,7 @@ public partial class AccessPackageItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of an accessPackage object. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs index 31bf1e343b4..533e602b37f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackagesWithUniqueName/AccessPackagesWithUniqueNameRequestBuilder.cs @@ -72,8 +72,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an accessPackage object. - /// Find more info here + /// 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 /// /// A /// Cancellation token to use when cancelling requests @@ -141,7 +141,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an accessPackage object. + /// 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. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -199,7 +199,7 @@ public partial class AccessPackagesWithUniqueNameRequestBuilderDeleteRequestConf { } /// - /// Retrieve the properties and relationships of an accessPackage object. + /// 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. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AccessPackagesWithUniqueNameRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs index 65b0db4cfbd..e18b7cfdeda 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs @@ -66,8 +66,8 @@ public RiskyUsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Retrieve the properties and relationships of a collection of riskyUser objects. - /// Find more info here + /// Retrieve the properties and relationships of a riskyUser object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RiskyUsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.RiskyUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties and relationships of a collection of riskyUser objects. + /// Retrieve the properties and relationships of a riskyUser object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -165,7 +165,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.RiskyUsersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties and relationships of a collection of riskyUser objects. + /// Retrieve the properties and relationships of a riskyUser object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RiskyUsersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Devices/Item/DeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Devices/Item/DeviceItemRequestBuilder.cs index 43c765587bf..9c9e2750159 100644 --- a/src/Microsoft.Graph/Generated/Me/Devices/Item/DeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Devices/Item/DeviceItemRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Me.Devices.Item.Commands; +using Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate; using Microsoft.Graph.Beta.Me.Devices.Item.Extensions; using Microsoft.Graph.Beta.Me.Devices.Item.MemberOf; using Microsoft.Graph.Beta.Me.Devices.Item.RegisteredOwners; @@ -30,6 +31,11 @@ public partial class DeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Devices.Item.Commands.CommandsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. + public global::Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder DeviceTemplate + { + get => new global::Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the extensions property of the microsoft.graph.device entity. public global::Microsoft.Graph.Beta.Me.Devices.Item.Extensions.ExtensionsRequestBuilder Extensions { diff --git a/src/Microsoft.Graph/Generated/Me/Devices/Item/DeviceTemplate/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Devices/Item/DeviceTemplate/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..ee24027de5b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Devices/Item/DeviceTemplate/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.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/devices/{device%2Did}/deviceTemplate/$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/devices/{device%2Did}/deviceTemplate/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.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/Devices/Item/DeviceTemplate/DeviceTemplateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Devices/Item/DeviceTemplate/DeviceTemplateRequestBuilder.cs new file mode 100644 index 00000000000..591c7209aea --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Devices/Item/DeviceTemplate/DeviceTemplateRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count; +using Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate +{ + /// + /// Provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. + /// The unique identifier of deviceTemplate + /// A + public global::Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("deviceTemplate%2Did", position); + return new global::Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder(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 DeviceTemplateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/devices/{device%2Did}/deviceTemplate{?%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 DeviceTemplateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/devices/{device%2Did}/deviceTemplate{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get deviceTemplate 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceTemplate 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; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceTemplate from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateRequestBuilderGetQueryParameters + { + /// 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 DeviceTemplateRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Devices/Item/DeviceTemplate/Item/DeviceTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Devices/Item/DeviceTemplate/Item/DeviceTemplateItemRequestBuilder.cs new file mode 100644 index 00000000000..b3c832832c1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Devices/Item/DeviceTemplate/Item/DeviceTemplateItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item +{ + /// + /// Provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceTemplateItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/devices/{device%2Did}/deviceTemplate/{deviceTemplate%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 DeviceTemplateItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/devices/{device%2Did}/deviceTemplate/{deviceTemplate%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get deviceTemplate 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceTemplate 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; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceTemplate from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateItemRequestBuilderGetQueryParameters + { + /// 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 DeviceTemplateItemRequestBuilderGetRequestConfiguration : 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 9c862404601..7862c19f3e7 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.Beta.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/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index 3d6f243a56c..9b2348e2b71 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -84,8 +84,8 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. - /// Find more info here + /// Create a new mailSearchFolder in the specified user's mailbox. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. + /// Create a new mailSearchFolder in the specified user's mailbox. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs index 9be56c8622b..16b073afa6e 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs @@ -4,7 +4,9 @@ using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MessageRules; using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Messages; using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move; +using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations; using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete; +using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState; using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UserConfigurations; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -44,11 +46,21 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder Operations + { + get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the permanentDelete method. public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the updateAllMessagesReadState method. + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder UpdateAllMessagesReadState + { + get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the userConfigurations property of the microsoft.graph.mailFolder entity. public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UserConfigurations.UserConfigurationsRequestBuilder UserConfigurations { diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Operations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..ad8410ecc74 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Operations/Count/CountRequestBuilder.cs @@ -0,0 +1,127 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.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/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations/$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/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations/$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 + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#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. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.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/MailFolders/Item/ChildFolders/Item/Operations/Item/MailFolderOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Operations/Item/MailFolderOperationItemRequestBuilder.cs new file mode 100644 index 00000000000..ced8a8468ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Operations/Item/MailFolderOperationItemRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item +{ + /// + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailFolderOperationItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailFolderOperationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations/{mailFolderOperation%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 MailFolderOperationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations/{mailFolderOperation%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get operations 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 + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolderOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get operations from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get operations from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailFolderOperationItemRequestBuilderGetQueryParameters + { + /// 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 MailFolderOperationItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Operations/OperationsRequestBuilder.cs new file mode 100644 index 00000000000..99cffc7c68a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Operations/OperationsRequestBuilder.cs @@ -0,0 +1,188 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count; +using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations +{ + /// + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OperationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + /// The unique identifier of mailFolderOperation + /// A + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mailFolderOperation%2Did", position); + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder(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 OperationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations{?%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 OperationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get operations 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 + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolderOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get operations from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get operations from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OperationsRequestBuilderGetQueryParameters + { + /// 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 OperationsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStatePostRequestBody.cs new file mode 100644 index 00000000000..de4aa958e8f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStatePostRequestBody.cs @@ -0,0 +1,79 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UpdateAllMessagesReadStatePostRequestBody : 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 isRead property + public bool? IsRead + { + get { return BackingStore?.Get("isRead"); } + set { BackingStore?.Set("isRead", value); } + } + /// The suppressReadReceipts property + public bool? SuppressReadReceipts + { + get { return BackingStore?.Get("suppressReadReceipts"); } + set { BackingStore?.Set("suppressReadReceipts", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public UpdateAllMessagesReadStatePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isRead", n => { IsRead = n.GetBoolValue(); } }, + { "suppressReadReceipts", n => { SuppressReadReceipts = n.GetBoolValue(); } }, + }; + } + /// + /// 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.WriteBoolValue("isRead", IsRead); + writer.WriteBoolValue("suppressReadReceipts", SuppressReadReceipts); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStateRequestBuilder.cs new file mode 100644 index 00000000000..cf63f4f2241 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStateRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState +{ + /// + /// Provides operations to call the updateAllMessagesReadState method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UpdateAllMessagesReadStateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UpdateAllMessagesReadStateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/updateAllMessagesReadState", 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 UpdateAllMessagesReadStateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/updateAllMessagesReadState", rawUrl) + { + } + /// + /// Invoke action updateAllMessagesReadState + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action updateAllMessagesReadState + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody 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. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder(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 UpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs index 83a0b5a13ad..111f2a2db54 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs @@ -5,7 +5,9 @@ using Microsoft.Graph.Beta.Me.MailFolders.Item.MessageRules; using Microsoft.Graph.Beta.Me.MailFolders.Item.Messages; using Microsoft.Graph.Beta.Me.MailFolders.Item.Move; +using Microsoft.Graph.Beta.Me.MailFolders.Item.Operations; using Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete; +using Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState; using Microsoft.Graph.Beta.Me.MailFolders.Item.UserConfigurations; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -50,11 +52,21 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.OperationsRequestBuilder Operations + { + get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.OperationsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the permanentDelete method. public global::Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the updateAllMessagesReadState method. + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder UpdateAllMessagesReadState + { + get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the userConfigurations property of the microsoft.graph.mailFolder entity. public global::Microsoft.Graph.Beta.Me.MailFolders.Item.UserConfigurations.UserConfigurationsRequestBuilder UserConfigurations { @@ -124,8 +136,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of mailFolder object. - /// Find more info here + /// Update the writable properties of a mailSearchFolder object. + /// Find more info here /// /// A /// The request body @@ -188,7 +200,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of mailFolder object. + /// Update the writable properties of a mailSearchFolder object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Operations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..20106f583cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Operations/Count/CountRequestBuilder.cs @@ -0,0 +1,127 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.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/mailFolders/{mailFolder%2Did}/operations/$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/mailFolders/{mailFolder%2Did}/operations/$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 + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#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. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.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/MailFolders/Item/Operations/Item/MailFolderOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Operations/Item/MailFolderOperationItemRequestBuilder.cs new file mode 100644 index 00000000000..8544bb8831e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Operations/Item/MailFolderOperationItemRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item +{ + /// + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailFolderOperationItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailFolderOperationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/operations/{mailFolderOperation%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 MailFolderOperationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/operations/{mailFolderOperation%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get operations 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 + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolderOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get operations from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get operations from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailFolderOperationItemRequestBuilderGetQueryParameters + { + /// 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 MailFolderOperationItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Operations/OperationsRequestBuilder.cs new file mode 100644 index 00000000000..4eab1c82b46 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Operations/OperationsRequestBuilder.cs @@ -0,0 +1,188 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count; +using Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MailFolders.Item.Operations +{ + /// + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OperationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + /// The unique identifier of mailFolderOperation + /// A + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mailFolderOperation%2Did", position); + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder(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 OperationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/operations{?%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 OperationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get operations 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 + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolderOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get operations from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.OperationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.OperationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get operations from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OperationsRequestBuilderGetQueryParameters + { + /// 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 OperationsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStatePostRequestBody.cs new file mode 100644 index 00000000000..7f9bd89fb6f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStatePostRequestBody.cs @@ -0,0 +1,79 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UpdateAllMessagesReadStatePostRequestBody : 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 isRead property + public bool? IsRead + { + get { return BackingStore?.Get("isRead"); } + set { BackingStore?.Set("isRead", value); } + } + /// The suppressReadReceipts property + public bool? SuppressReadReceipts + { + get { return BackingStore?.Get("suppressReadReceipts"); } + set { BackingStore?.Set("suppressReadReceipts", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public UpdateAllMessagesReadStatePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isRead", n => { IsRead = n.GetBoolValue(); } }, + { "suppressReadReceipts", n => { SuppressReadReceipts = n.GetBoolValue(); } }, + }; + } + /// + /// 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.WriteBoolValue("isRead", IsRead); + writer.WriteBoolValue("suppressReadReceipts", SuppressReadReceipts); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStateRequestBuilder.cs new file mode 100644 index 00000000000..c0eba1fd197 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStateRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState +{ + /// + /// Provides operations to call the updateAllMessagesReadState method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UpdateAllMessagesReadStateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UpdateAllMessagesReadStateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/updateAllMessagesReadState", 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 UpdateAllMessagesReadStateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/updateAllMessagesReadState", rawUrl) + { + } + /// + /// Invoke action updateAllMessagesReadState + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action updateAllMessagesReadState + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody 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. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder(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 UpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index fd6686da13b..0fe449840e4 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -184,8 +184,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.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 @@ -248,7 +248,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an eventMessage object. + /// Update the properties of a message object. /// /// A /// The request body 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 d17db9ec5d6..ab486de67f6 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. You can filter on the messages and get only those that include a mention of the signed-in user. See an example below.By default, the GET /me/messages operation does not return the mentions property. Use the $expand query parameterto find details of each mention in a message. There are two scenarios where an app can get messages in another user's mail folder: + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -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 @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. You can filter on the messages and get only those that include a mention of the signed-in user. See an example below.By default, the GET /me/messages operation does not return the mentions property. Use the $expand query parameterto find details of each mention in a message. There are two scenarios where an app can get messages in another user's mail folder: /// /// 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 @@ -184,7 +184,7 @@ public partial class ContentRequestBuilderDeleteRequestConfiguration : RequestCo { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. You can filter on the messages and get only those that include a mention of the signed-in user. See an example below.By default, the GET /me/messages operation does not return the mentions property. Use the $expand query parameterto find details of each mention in a message. There are two scenarios where an app can get messages in another user's mail folder: /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ContentRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs index 631d96982cd..9fd494ca0b5 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs @@ -60,8 +60,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. - /// Find more info here + /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. You can filter on the messages and get only those that include a mention of the signed-in user. See an example below.By default, the GET /me/messages operation does not return the mentions property. Use the $expand query parameterto find details of each mention in a message. There are two scenarios where an app can get messages in another user's mail folder: + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. - /// Find more info here + /// 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 @@ -110,7 +110,7 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. You can filter on the messages and get only those that include a mention of the signed-in user. See an example below.By default, the GET /me/messages operation does not return the mentions property. Use the $expand query parameterto find details of each mention in a message. There are two scenarios where an app can get messages in another user's mail folder: /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. + /// 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 @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. + /// Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use $top to customize the page size, within the range of 1 and 1000. To improve the operation response time, use $select to specify the exact properties you need; see example 1 below. Fine-tune the values for $select and $top, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in @odata.nextLink to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the $skip value from the @odata.nextLink URL to manipulate responses. This API uses the $skip value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the $skip value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. You can filter on the messages and get only those that include a mention of the signed-in user. See an example below.By default, the GET /me/messages operation does not return the mentions property. Use the $expand query parameterto find details of each mention in a message. There are two scenarios where an app can get messages in another user's mail folder: /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MessagesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/Registrants/RegistrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/Registrants/RegistrantsRequestBuilder.cs index 459faf30ab7..a4b1372b68f 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/Registrants/RegistrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/Registrants/RegistrantsRequestBuilder.cs @@ -56,8 +56,8 @@ public RegistrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get a list of the externalMeetingRegistrants of an onlineMeeting. - /// Find more info here + /// Get a list of the meetingRegistrants of an onlineMeeting on behalf of the organizer. You can use this method to get the registration report for a Microsoft Teams webinar. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -108,7 +108,7 @@ public RegistrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MeetingRegistrantBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the externalMeetingRegistrants of an onlineMeeting. + /// Get a list of the meetingRegistrants of an onlineMeeting on behalf of the organizer. You can use this method to get the registration report for a Microsoft Teams webinar. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -161,7 +161,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.OnlineMeetings.Item.Registration.Registrants.RegistrantsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a list of the externalMeetingRegistrants of an onlineMeeting. + /// Get a list of the meetingRegistrants of an onlineMeeting on behalf of the organizer. You can use this method to get the registration report for a Microsoft Teams webinar. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RegistrantsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs index e1e929b640e..b0d03559d3a 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs @@ -49,8 +49,8 @@ public RegistrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer. - /// Find more info here + /// Disable and delete the externalMeetingRegistration of an onlineMeeting. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -73,8 +73,8 @@ public async Task DeleteAsync(Action - /// Get the externalMeetingRegistration details associated with an onlineMeeting. - /// Find more info here + /// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.MeetingRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer. + /// Disable and delete the externalMeetingRegistration of an onlineMeeting. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the externalMeetingRegistration details associated with an onlineMeeting. + /// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -206,7 +206,7 @@ public partial class RegistrationRequestBuilderDeleteRequestConfiguration : Requ { } /// - /// Get the externalMeetingRegistration details associated with an onlineMeeting. + /// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RegistrationRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Models/AiInteraction.cs b/src/Microsoft.Graph/Generated/Models/AiInteraction.cs new file mode 100644 index 00000000000..79a030061e3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AiInteraction.cs @@ -0,0 +1,278 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AiInteraction : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The data source for Copilot data. For example, IPM.SkypeTeams.Message.Copilot.Excel or IPM.SkypeTeams.Message.Copilot.Loop. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AppClass + { + get { return BackingStore?.Get("appClass"); } + set { BackingStore?.Set("appClass", value); } + } +#nullable restore +#else + public string AppClass + { + get { return BackingStore?.Get("appClass"); } + set { BackingStore?.Set("appClass", value); } + } +#endif + /// The collection of documents attached to the interaction, such as cards and images. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Attachments + { + get { return BackingStore?.Get?>("attachments"); } + set { BackingStore?.Set("attachments", value); } + } +#nullable restore +#else + public List Attachments + { + get { return BackingStore?.Get>("attachments"); } + set { BackingStore?.Set("attachments", value); } + } +#endif + /// The body of the message, including the text of the body and its body type. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ItemBody? Body + { + get { return BackingStore?.Get("body"); } + set { BackingStore?.Set("body", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ItemBody Body + { + get { return BackingStore?.Get("body"); } + set { BackingStore?.Set("body", value); } + } +#endif + /// The identifer that maps to all contexts associated with an interaction. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Contexts + { + get { return BackingStore?.Get?>("contexts"); } + set { BackingStore?.Set("contexts", value); } + } +#nullable restore +#else + public List Contexts + { + get { return BackingStore?.Get>("contexts"); } + set { BackingStore?.Set("contexts", value); } + } +#endif + /// The type of the conversation. For example, appchat or bizchat. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ConversationType + { + get { return BackingStore?.Get("conversationType"); } + set { BackingStore?.Set("conversationType", value); } + } +#nullable restore +#else + public string ConversationType + { + get { return BackingStore?.Get("conversationType"); } + set { BackingStore?.Set("conversationType", value); } + } +#endif + /// The time when the interaction was created. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The timestamp of when the interaction was last modified. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Etag + { + get { return BackingStore?.Get("etag"); } + set { BackingStore?.Set("etag", value); } + } +#nullable restore +#else + public string Etag + { + get { return BackingStore?.Get("etag"); } + set { BackingStore?.Set("etag", value); } + } +#endif + /// The from property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? From + { + get { return BackingStore?.Get("from"); } + set { BackingStore?.Set("from", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet From + { + get { return BackingStore?.Get("from"); } + set { BackingStore?.Set("from", value); } + } +#endif + /// The interactionType property + public global::Microsoft.Graph.Beta.Models.AiInteractionType? InteractionType + { + get { return BackingStore?.Get("interactionType"); } + set { BackingStore?.Set("interactionType", value); } + } + /// The collection of links that appear in the interaction. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Links + { + get { return BackingStore?.Get?>("links"); } + set { BackingStore?.Set("links", value); } + } +#nullable restore +#else + public List Links + { + get { return BackingStore?.Get>("links"); } + set { BackingStore?.Set("links", value); } + } +#endif + /// The locale of the sender. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#nullable restore +#else + public string Locale + { + get { return BackingStore?.Get("locale"); } + set { BackingStore?.Set("locale", value); } + } +#endif + /// The collection of the entities that were mentioned in the interaction, including users, bots, and so on. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Mentions + { + get { return BackingStore?.Get?>("mentions"); } + set { BackingStore?.Set("mentions", value); } + } +#nullable restore +#else + public List Mentions + { + get { return BackingStore?.Get>("mentions"); } + set { BackingStore?.Set("mentions", value); } + } +#endif + /// The identifier that groups a user prompt with its Copilot response. +#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 thread ID or conversation identifier that maps to all Copilot sessions for the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SessionId + { + get { return BackingStore?.Get("sessionId"); } + set { BackingStore?.Set("sessionId", value); } + } +#nullable restore +#else + public string SessionId + { + get { return BackingStore?.Get("sessionId"); } + set { BackingStore?.Set("sessionId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AiInteraction CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AiInteraction(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "appClass", n => { AppClass = n.GetStringValue(); } }, + { "attachments", n => { Attachments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AiInteractionAttachment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "body", n => { Body = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ItemBody.CreateFromDiscriminatorValue); } }, + { "contexts", n => { Contexts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AiInteractionContext.CreateFromDiscriminatorValue)?.AsList(); } }, + { "conversationType", n => { ConversationType = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "etag", n => { Etag = n.GetStringValue(); } }, + { "from", n => { From = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "interactionType", n => { InteractionType = n.GetEnumValue(); } }, + { "links", n => { Links = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AiInteractionLink.CreateFromDiscriminatorValue)?.AsList(); } }, + { "locale", n => { Locale = n.GetStringValue(); } }, + { "mentions", n => { Mentions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AiInteractionMention.CreateFromDiscriminatorValue)?.AsList(); } }, + { "requestId", n => { RequestId = n.GetStringValue(); } }, + { "sessionId", n => { SessionId = 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("appClass", AppClass); + writer.WriteCollectionOfObjectValues("attachments", Attachments); + writer.WriteObjectValue("body", Body); + writer.WriteCollectionOfObjectValues("contexts", Contexts); + writer.WriteStringValue("conversationType", ConversationType); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("etag", Etag); + writer.WriteObjectValue("from", From); + writer.WriteEnumValue("interactionType", InteractionType); + writer.WriteCollectionOfObjectValues("links", Links); + writer.WriteStringValue("locale", Locale); + writer.WriteCollectionOfObjectValues("mentions", Mentions); + writer.WriteStringValue("requestId", RequestId); + writer.WriteStringValue("sessionId", SessionId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AiInteractionAttachment.cs b/src/Microsoft.Graph/Generated/Models/AiInteractionAttachment.cs new file mode 100644 index 00000000000..46188dbe089 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AiInteractionAttachment.cs @@ -0,0 +1,136 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AiInteractionAttachment : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The identifier for the attachment. This identifier is only unique within the message scope. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AttachmentId + { + get { return BackingStore?.Get("attachmentId"); } + set { BackingStore?.Set("attachmentId", value); } + } +#nullable restore +#else + public string AttachmentId + { + get { return BackingStore?.Get("attachmentId"); } + set { BackingStore?.Set("attachmentId", value); } + } +#endif + /// The content of the attachment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#nullable restore +#else + public string Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#endif + /// The type of the content. For example, reference, file, and image/imageType. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ContentType + { + get { return BackingStore?.Get("contentType"); } + set { BackingStore?.Set("contentType", value); } + } +#nullable restore +#else + public string ContentType + { + get { return BackingStore?.Get("contentType"); } + set { BackingStore?.Set("contentType", value); } + } +#endif + /// The URL of the content. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ContentUrl + { + get { return BackingStore?.Get("contentUrl"); } + set { BackingStore?.Set("contentUrl", value); } + } +#nullable restore +#else + public string ContentUrl + { + get { return BackingStore?.Get("contentUrl"); } + set { BackingStore?.Set("contentUrl", value); } + } +#endif + /// The name of the attachment. +#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 + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AiInteractionAttachment CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AiInteractionAttachment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "attachmentId", n => { AttachmentId = n.GetStringValue(); } }, + { "content", n => { Content = n.GetStringValue(); } }, + { "contentType", n => { ContentType = n.GetStringValue(); } }, + { "contentUrl", n => { ContentUrl = n.GetStringValue(); } }, + { "name", n => { Name = 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("attachmentId", AttachmentId); + writer.WriteStringValue("content", Content); + writer.WriteStringValue("contentType", ContentType); + writer.WriteStringValue("contentUrl", ContentUrl); + writer.WriteStringValue("name", Name); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AiInteractionContext.cs b/src/Microsoft.Graph/Generated/Models/AiInteractionContext.cs new file mode 100644 index 00000000000..96c23887a0e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AiInteractionContext.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AiInteractionContext : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The full file URL where the interaction happened. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ContextReference + { + get { return BackingStore?.Get("contextReference"); } + set { BackingStore?.Set("contextReference", value); } + } +#nullable restore +#else + public string ContextReference + { + get { return BackingStore?.Get("contextReference"); } + set { BackingStore?.Set("contextReference", value); } + } +#endif + /// The type of the file. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ContextType + { + get { return BackingStore?.Get("contextType"); } + set { BackingStore?.Set("contextType", value); } + } +#nullable restore +#else + public string ContextType + { + get { return BackingStore?.Get("contextType"); } + set { BackingStore?.Set("contextType", value); } + } +#endif + /// The name of the file. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AiInteractionContext CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AiInteractionContext(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "contextReference", n => { ContextReference = n.GetStringValue(); } }, + { "contextType", n => { ContextType = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = 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("contextReference", ContextReference); + writer.WriteStringValue("contextType", ContextType); + writer.WriteStringValue("displayName", DisplayName); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AiInteractionHistory.cs b/src/Microsoft.Graph/Generated/Models/AiInteractionHistory.cs new file mode 100644 index 00000000000..ed648e7f232 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AiInteractionHistory.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AiInteractionHistory : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The list of AI interactions. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Interactions + { + get { return BackingStore?.Get?>("interactions"); } + set { BackingStore?.Set("interactions", value); } + } +#nullable restore +#else + public List Interactions + { + get { return BackingStore?.Get>("interactions"); } + set { BackingStore?.Set("interactions", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AiInteractionHistory CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AiInteractionHistory(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "interactions", n => { Interactions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AiInteraction.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("interactions", Interactions); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AiInteractionLink.cs b/src/Microsoft.Graph/Generated/Models/AiInteractionLink.cs new file mode 100644 index 00000000000..20d7ca9e709 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AiInteractionLink.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AiInteractionLink : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The name of the link. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Information about a link in an app chat or Business Chat (BizChat) interaction. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LinkType + { + get { return BackingStore?.Get("linkType"); } + set { BackingStore?.Set("linkType", value); } + } +#nullable restore +#else + public string LinkType + { + get { return BackingStore?.Get("linkType"); } + set { BackingStore?.Set("linkType", value); } + } +#endif + /// The URL of the link. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LinkUrl + { + get { return BackingStore?.Get("linkUrl"); } + set { BackingStore?.Set("linkUrl", value); } + } +#nullable restore +#else + public string LinkUrl + { + get { return BackingStore?.Get("linkUrl"); } + set { BackingStore?.Set("linkUrl", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AiInteractionLink CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AiInteractionLink(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "linkType", n => { LinkType = n.GetStringValue(); } }, + { "linkUrl", n => { LinkUrl = 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("displayName", DisplayName); + writer.WriteStringValue("linkType", LinkType); + writer.WriteStringValue("linkUrl", LinkUrl); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AiInteractionMention.cs b/src/Microsoft.Graph/Generated/Models/AiInteractionMention.cs new file mode 100644 index 00000000000..faf15a2db9c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AiInteractionMention.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AiInteractionMention : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The entity mentioned in the message. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.AiInteractionMentionedIdentitySet? Mentioned + { + get { return BackingStore?.Get("mentioned"); } + set { BackingStore?.Set("mentioned", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.AiInteractionMentionedIdentitySet Mentioned + { + get { return BackingStore?.Get("mentioned"); } + set { BackingStore?.Set("mentioned", value); } + } +#endif + /// The identifier for the mention. + public int? MentionId + { + get { return BackingStore?.Get("mentionId"); } + set { BackingStore?.Set("mentionId", value); } + } + /// The text mentioned in the message. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MentionText + { + get { return BackingStore?.Get("mentionText"); } + set { BackingStore?.Set("mentionText", value); } + } +#nullable restore +#else + public string MentionText + { + get { return BackingStore?.Get("mentionText"); } + set { BackingStore?.Set("mentionText", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AiInteractionMention CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AiInteractionMention(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "mentionId", n => { MentionId = n.GetIntValue(); } }, + { "mentionText", n => { MentionText = n.GetStringValue(); } }, + { "mentioned", n => { Mentioned = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AiInteractionMentionedIdentitySet.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("mentioned", Mentioned); + writer.WriteIntValue("mentionId", MentionId); + writer.WriteStringValue("mentionText", MentionText); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AiInteractionMentionedIdentitySet.cs b/src/Microsoft.Graph/Generated/Models/AiInteractionMentionedIdentitySet.cs new file mode 100644 index 00000000000..4e4c5409e89 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AiInteractionMentionedIdentitySet.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AiInteractionMentionedIdentitySet : global::Microsoft.Graph.Beta.Models.IdentitySet, IParsable + #pragma warning restore CS1591 + { + /// The conversation details. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TeamworkConversationIdentity? Conversation + { + get { return BackingStore?.Get("conversation"); } + set { BackingStore?.Set("conversation", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TeamworkConversationIdentity Conversation + { + get { return BackingStore?.Get("conversation"); } + set { BackingStore?.Set("conversation", value); } + } +#endif + /// The tag details. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TeamworkTagIdentity? Tag + { + get { return BackingStore?.Get("tag"); } + set { BackingStore?.Set("tag", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TeamworkTagIdentity Tag + { + get { return BackingStore?.Get("tag"); } + set { BackingStore?.Set("tag", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AiInteractionMentionedIdentitySet() : base() + { + OdataType = "#microsoft.graph.aiInteractionMentionedIdentitySet"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AiInteractionMentionedIdentitySet CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AiInteractionMentionedIdentitySet(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "conversation", n => { Conversation = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TeamworkConversationIdentity.CreateFromDiscriminatorValue); } }, + { "tag", n => { Tag = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TeamworkTagIdentity.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("conversation", Conversation); + writer.WriteObjectValue("tag", Tag); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AiInteractionType.cs b/src/Microsoft.Graph/Generated/Models/AiInteractionType.cs new file mode 100644 index 00000000000..6c7f07e9b6d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AiInteractionType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AiInteractionType + #pragma warning restore CS1591 + { + [EnumMember(Value = "userPrompt")] + #pragma warning disable CS1591 + UserPrompt, + #pragma warning restore CS1591 + [EnumMember(Value = "aiResponse")] + #pragma warning disable CS1591 + AiResponse, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AiUser.cs b/src/Microsoft.Graph/Generated/Models/AiUser.cs new file mode 100644 index 00000000000..b9271cace8c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AiUser.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AiUser : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The history of interactions between AI agents and users. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.AiInteractionHistory? InteractionHistory + { + get { return BackingStore?.Get("interactionHistory"); } + set { BackingStore?.Set("interactionHistory", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.AiInteractionHistory InteractionHistory + { + get { return BackingStore?.Get("interactionHistory"); } + set { BackingStore?.Set("interactionHistory", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AiUser CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AiUser(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "interactionHistory", n => { InteractionHistory = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AiInteractionHistory.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("interactionHistory", InteractionHistory); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Announcement.cs b/src/Microsoft.Graph/Generated/Models/Announcement.cs new file mode 100644 index 00000000000..3b5576f738e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Announcement.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Announcement : global::Microsoft.Graph.Beta.Models.ChangeItemBase, IParsable + #pragma warning restore CS1591 + { + /// Change announcement date. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. + public DateTimeOffset? AnnouncementDateTime + { + get { return BackingStore?.Get("announcementDateTime"); } + set { BackingStore?.Set("announcementDateTime", value); } + } + /// The changeType property + public global::Microsoft.Graph.Beta.Models.ChangeAnnouncementChangeType? ChangeType + { + get { return BackingStore?.Get("changeType"); } + set { BackingStore?.Set("changeType", value); } + } + /// Change impact URL. Supports $filter (eq, ne, in) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ImpactLink + { + get { return BackingStore?.Get("impactLink"); } + set { BackingStore?.Set("impactLink", value); } + } +#nullable restore +#else + public string ImpactLink + { + get { return BackingStore?.Get("impactLink"); } + set { BackingStore?.Set("impactLink", value); } + } +#endif + /// Indicates whether the customer needs to take any action for this change. Supports $filter (eq, ne). + public bool? IsCustomerActionRequired + { + get { return BackingStore?.Get("isCustomerActionRequired"); } + set { BackingStore?.Set("isCustomerActionRequired", value); } + } + /// Date on which the change rolls out. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. + public DateTimeOffset? TargetDateTime + { + get { return BackingStore?.Get("targetDateTime"); } + set { BackingStore?.Set("targetDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public Announcement() : base() + { + OdataType = "#microsoft.graph.announcement"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Announcement CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Announcement(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "announcementDateTime", n => { AnnouncementDateTime = n.GetDateTimeOffsetValue(); } }, + { "changeType", n => { ChangeType = n.GetEnumValue(); } }, + { "impactLink", n => { ImpactLink = n.GetStringValue(); } }, + { "isCustomerActionRequired", n => { IsCustomerActionRequired = n.GetBoolValue(); } }, + { "targetDateTime", n => { TargetDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// 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.WriteDateTimeOffsetValue("announcementDateTime", AnnouncementDateTime); + writer.WriteEnumValue("changeType", ChangeType); + writer.WriteStringValue("impactLink", ImpactLink); + writer.WriteBoolValue("isCustomerActionRequired", IsCustomerActionRequired); + writer.WriteDateTimeOffsetValue("targetDateTime", TargetDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AttendanceRecord.cs b/src/Microsoft.Graph/Generated/Models/AttendanceRecord.cs index adea839bdf9..e06500966ef 100644 --- a/src/Microsoft.Graph/Generated/Models/AttendanceRecord.cs +++ b/src/Microsoft.Graph/Generated/Models/AttendanceRecord.cs @@ -43,6 +43,22 @@ public string EmailAddress get { return BackingStore?.Get("emailAddress"); } set { BackingStore?.Set("emailAddress", value); } } +#endif + /// The externalRegistrationInformation property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.VirtualEventExternalRegistrationInformation? ExternalRegistrationInformation + { + get { return BackingStore?.Get("externalRegistrationInformation"); } + set { BackingStore?.Set("externalRegistrationInformation", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.VirtualEventExternalRegistrationInformation ExternalRegistrationInformation + { + get { return BackingStore?.Get("externalRegistrationInformation"); } + set { BackingStore?.Set("externalRegistrationInformation", value); } + } #endif /// Identity of the user associated with this attendance record. The specific type will be one of the following derived types of identity, depending on the type of the user: communicationsUserIdentity, azureCommunicationServicesUserIdentity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -134,6 +150,7 @@ public override IDictionary> GetFieldDeserializers() { { "attendanceIntervals", n => { AttendanceIntervals = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AttendanceInterval.CreateFromDiscriminatorValue)?.AsList(); } }, { "emailAddress", n => { EmailAddress = n.GetStringValue(); } }, + { "externalRegistrationInformation", n => { ExternalRegistrationInformation = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.VirtualEventExternalRegistrationInformation.CreateFromDiscriminatorValue); } }, { "identity", n => { Identity = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, { "registrantId", n => { RegistrantId = n.GetStringValue(); } }, { "registrationId", n => { RegistrationId = n.GetStringValue(); } }, @@ -151,6 +168,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("attendanceIntervals", AttendanceIntervals); writer.WriteStringValue("emailAddress", EmailAddress); + writer.WriteObjectValue("externalRegistrationInformation", ExternalRegistrationInformation); writer.WriteObjectValue("identity", Identity); writer.WriteStringValue("registrantId", RegistrantId); writer.WriteStringValue("registrationId", RegistrationId); diff --git a/src/Microsoft.Graph/Generated/Models/CallSettings.cs b/src/Microsoft.Graph/Generated/Models/CallSettings.cs new file mode 100644 index 00000000000..958b086898e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CallSettings.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CallSettings : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The delegates property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Delegates + { + get { return BackingStore?.Get?>("delegates"); } + set { BackingStore?.Set("delegates", value); } + } +#nullable restore +#else + public List Delegates + { + get { return BackingStore?.Get>("delegates"); } + set { BackingStore?.Set("delegates", value); } + } +#endif + /// The delegators property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Delegators + { + get { return BackingStore?.Get?>("delegators"); } + set { BackingStore?.Set("delegators", value); } + } +#nullable restore +#else + public List Delegators + { + get { return BackingStore?.Get>("delegators"); } + set { BackingStore?.Set("delegators", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CallSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CallSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "delegates", n => { Delegates = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DelegationSettings.CreateFromDiscriminatorValue)?.AsList(); } }, + { "delegators", n => { Delegators = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DelegationSettings.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("delegates", Delegates); + writer.WriteCollectionOfObjectValues("delegators", Delegators); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CertificateAuthorityPath.cs b/src/Microsoft.Graph/Generated/Models/CertificateAuthorityPath.cs index 9ad3aaa1fc7..f6208b88a50 100644 --- a/src/Microsoft.Graph/Generated/Models/CertificateAuthorityPath.cs +++ b/src/Microsoft.Graph/Generated/Models/CertificateAuthorityPath.cs @@ -27,6 +27,22 @@ public partial class CertificateAuthorityPath : global::Microsoft.Graph.Beta.Mod get { return BackingStore?.Get>("certificateBasedApplicationConfigurations"); } set { BackingStore?.Set("certificateBasedApplicationConfigurations", value); } } +#endif + /// The mutualTlsOauthConfigurations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? MutualTlsOauthConfigurations + { + get { return BackingStore?.Get?>("mutualTlsOauthConfigurations"); } + set { BackingStore?.Set("mutualTlsOauthConfigurations", value); } + } +#nullable restore +#else + public List MutualTlsOauthConfigurations + { + get { return BackingStore?.Get>("mutualTlsOauthConfigurations"); } + set { BackingStore?.Set("mutualTlsOauthConfigurations", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -47,6 +63,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "certificateBasedApplicationConfigurations", n => { CertificateBasedApplicationConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, + { "mutualTlsOauthConfigurations", n => { MutualTlsOauthConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -58,6 +75,7 @@ public override void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfObjectValues("certificateBasedApplicationConfigurations", CertificateBasedApplicationConfigurations); + writer.WriteCollectionOfObjectValues("mutualTlsOauthConfigurations", MutualTlsOauthConfigurations); } } } diff --git a/src/Microsoft.Graph/Generated/Models/ChangeAnnouncementChangeType.cs b/src/Microsoft.Graph/Generated/Models/ChangeAnnouncementChangeType.cs new file mode 100644 index 00000000000..2a47844aa92 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ChangeAnnouncementChangeType.cs @@ -0,0 +1,48 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ChangeAnnouncementChangeType + #pragma warning restore CS1591 + { + [EnumMember(Value = "breakingChange")] + #pragma warning disable CS1591 + BreakingChange, + #pragma warning restore CS1591 + [EnumMember(Value = "deprecation")] + #pragma warning disable CS1591 + Deprecation, + #pragma warning restore CS1591 + [EnumMember(Value = "endOfSupport")] + #pragma warning disable CS1591 + EndOfSupport, + #pragma warning restore CS1591 + [EnumMember(Value = "featureChange")] + #pragma warning disable CS1591 + FeatureChange, + #pragma warning restore CS1591 + [EnumMember(Value = "other")] + #pragma warning disable CS1591 + Other, + #pragma warning restore CS1591 + [EnumMember(Value = "retirement")] + #pragma warning disable CS1591 + Retirement, + #pragma warning restore CS1591 + [EnumMember(Value = "securityIncident")] + #pragma warning disable CS1591 + SecurityIncident, + #pragma warning restore CS1591 + [EnumMember(Value = "uxChange")] + #pragma warning disable CS1591 + UxChange, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ChangeItemBase.cs b/src/Microsoft.Graph/Generated/Models/ChangeItemBase.cs new file mode 100644 index 00000000000..7ce46061595 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ChangeItemBase.cs @@ -0,0 +1,178 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ChangeItemBase : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Specifies the Microsoft Entra service name to which this item belongs. Supports $filter (eq, ne, in) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ChangeItemService + { + get { return BackingStore?.Get("changeItemService"); } + set { BackingStore?.Set("changeItemService", value); } + } +#nullable restore +#else + public string ChangeItemService + { + get { return BackingStore?.Get("changeItemService"); } + set { BackingStore?.Set("changeItemService", value); } + } +#endif + /// Description of the new feature or change announcement. Supports $filter (eq, ne, in, startswith) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// Link to the feature or change documentation. Supports $filter (any with eq). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DocumentationUrls + { + get { return BackingStore?.Get?>("documentationUrls"); } + set { BackingStore?.Set("documentationUrls", value); } + } +#nullable restore +#else + public List DocumentationUrls + { + get { return BackingStore?.Get>("documentationUrls"); } + set { BackingStore?.Set("documentationUrls", value); } + } +#endif + /// A short description of the feature or change. Supports $filter (eq, ne, in, startswith) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ShortDescription + { + get { return BackingStore?.Get("shortDescription"); } + set { BackingStore?.Set("shortDescription", value); } + } +#nullable restore +#else + public string ShortDescription + { + get { return BackingStore?.Get("shortDescription"); } + set { BackingStore?.Set("shortDescription", value); } + } +#endif + /// Microsoft Entra-specific tags. Example values: Top announcement - entraroadmaphighlightproductnews, New release highlight - entraroadmaphighlightnewfeature. Supports $filter (any with eq). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SystemTags + { + get { return BackingStore?.Get?>("systemTags"); } + set { BackingStore?.Set("systemTags", value); } + } +#nullable restore +#else + public List SystemTags + { + get { return BackingStore?.Get>("systemTags"); } + set { BackingStore?.Set("systemTags", value); } + } +#endif + /// Identity and Access Management (IAM) related tags. Example values: External Identities, Reliability and Resilience. Supports $filter (any with eq). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Tags + { + get { return BackingStore?.Get?>("tags"); } + set { BackingStore?.Set("tags", value); } + } +#nullable restore +#else + public List Tags + { + get { return BackingStore?.Get>("tags"); } + set { BackingStore?.Set("tags", value); } + } +#endif + /// Title of the feature or change. Supports $filter (eq, ne, in, startswith) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#nullable restore +#else + public string Title + { + get { return BackingStore?.Get("title"); } + set { BackingStore?.Set("title", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ChangeItemBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.announcement" => new global::Microsoft.Graph.Beta.Models.Announcement(), + "#microsoft.graph.roadmap" => new global::Microsoft.Graph.Beta.Models.Roadmap(), + _ => new global::Microsoft.Graph.Beta.Models.ChangeItemBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "changeItemService", n => { ChangeItemService = n.GetStringValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "documentationUrls", n => { DocumentationUrls = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "shortDescription", n => { ShortDescription = n.GetStringValue(); } }, + { "systemTags", n => { SystemTags = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "tags", n => { Tags = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "title", n => { Title = 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("changeItemService", ChangeItemService); + writer.WriteStringValue("description", Description); + writer.WriteCollectionOfPrimitiveValues("documentationUrls", DocumentationUrls); + writer.WriteStringValue("shortDescription", ShortDescription); + writer.WriteCollectionOfPrimitiveValues("systemTags", SystemTags); + writer.WriteCollectionOfPrimitiveValues("tags", Tags); + writer.WriteStringValue("title", Title); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ChangeItemBaseCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ChangeItemBaseCollectionResponse.cs new file mode 100644 index 00000000000..4b099738ed5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ChangeItemBaseCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ChangeItemBaseCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ChangeItemBaseCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ChangeItemBaseCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ChangeItemBase.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/ChangeItemState.cs b/src/Microsoft.Graph/Generated/Models/ChangeItemState.cs new file mode 100644 index 00000000000..06f711ef185 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ChangeItemState.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ChangeItemState + #pragma warning restore CS1591 + { + [EnumMember(Value = "available")] + #pragma warning disable CS1591 + Available, + #pragma warning restore CS1591 + [EnumMember(Value = "comingSoon")] + #pragma warning disable CS1591 + ComingSoon, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcBulkCreateSnapshot.cs b/src/Microsoft.Graph/Generated/Models/CloudPcBulkCreateSnapshot.cs index ef0c89389fe..5716505288b 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcBulkCreateSnapshot.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcBulkCreateSnapshot.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class CloudPcBulkCreateSnapshot : global::Microsoft.Graph.Beta.Models.CloudPcBulkAction, IParsable #pragma warning restore CS1591 { - /// The accessTier property + /// Indicates the access tier of the blob file that the snapshot is copied to. Possible values are hot, cool, cold, archive, and unknownFutureValue. The default value is hot. Read-Only. public global::Microsoft.Graph.Beta.Models.CloudPcBlobAccessTier? AccessTier { get { return BackingStore?.Get("accessTier"); } set { BackingStore?.Set("accessTier", value); } } - /// The storageAccountId property + /// The unique identifier for Secure Azure Storage Account, which receives the restore points (snapshots). The value can't be modified after it's created. For example, '/subscriptions/06199b73-30a1-4922-8734-93feca64cdf6/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125'. Read-Only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? StorageAccountId diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcPolicyApplyActionResult.cs b/src/Microsoft.Graph/Generated/Models/CloudPcPolicyApplyActionResult.cs new file mode 100644 index 00000000000..f3dabd62cae --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcPolicyApplyActionResult.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcPolicyApplyActionResult : 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 finishDateTime property + public DateTimeOffset? FinishDateTime + { + get { return BackingStore?.Get("finishDateTime"); } + set { BackingStore?.Set("finishDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The startDateTime property + public DateTimeOffset? StartDateTime + { + get { return BackingStore?.Get("startDateTime"); } + set { BackingStore?.Set("startDateTime", value); } + } + /// The status property + public global::Microsoft.Graph.Beta.Models.CloudPcPolicyApplyActionStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcPolicyApplyActionResult() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CloudPcPolicyApplyActionResult CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcPolicyApplyActionResult(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "finishDateTime", n => { FinishDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("finishDateTime", FinishDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime); + writer.WriteEnumValue("status", Status); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcPolicyApplyActionStatus.cs b/src/Microsoft.Graph/Generated/Models/CloudPcPolicyApplyActionStatus.cs new file mode 100644 index 00000000000..201e02e4829 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcPolicyApplyActionStatus.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CloudPcPolicyApplyActionStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "processing")] + #pragma warning disable CS1591 + Processing, + #pragma warning restore CS1591 + [EnumMember(Value = "succeeded")] + #pragma warning disable CS1591 + Succeeded, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.cs b/src/Microsoft.Graph/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.cs new file mode 100644 index 00000000000..d20a84f5dce --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcPolicyScheduledApplyActionDetail.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcPolicyScheduledApplyActionDetail : 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 cronScheduleExpression property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CronScheduleExpression + { + get { return BackingStore?.Get("cronScheduleExpression"); } + set { BackingStore?.Set("cronScheduleExpression", value); } + } +#nullable restore +#else + public string CronScheduleExpression + { + get { return BackingStore?.Get("cronScheduleExpression"); } + set { BackingStore?.Set("cronScheduleExpression", 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 reservePercentage property + public int? ReservePercentage + { + get { return BackingStore?.Get("reservePercentage"); } + set { BackingStore?.Set("reservePercentage", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcPolicyScheduledApplyActionDetail() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CloudPcPolicyScheduledApplyActionDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcPolicyScheduledApplyActionDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "cronScheduleExpression", n => { CronScheduleExpression = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "reservePercentage", n => { ReservePercentage = n.GetIntValue(); } }, + }; + } + /// + /// 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("cronScheduleExpression", CronScheduleExpression); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("reservePercentage", ReservePercentage); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcReviewStatus.cs b/src/Microsoft.Graph/Generated/Models/CloudPcReviewStatus.cs index 5dadda9bc7c..f711261ec97 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcReviewStatus.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcReviewStatus.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models public partial class CloudPcReviewStatus : IAdditionalDataHolder, IBackedModel, IParsable #pragma warning restore CS1591 { - /// The accessTier property + /// The blob access tier of the Azure Storage account in which the Cloud PC snapshot is saved with. Possible values are hot, cool, cold, and archive, default value is hot. public global::Microsoft.Graph.Beta.Models.CloudPcBlobAccessTier? AccessTier { get { return BackingStore?.Get("accessTier"); } diff --git a/src/Microsoft.Graph/Generated/Models/DelegateAllowedActions.cs b/src/Microsoft.Graph/Generated/Models/DelegateAllowedActions.cs new file mode 100644 index 00000000000..89909091e51 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DelegateAllowedActions.cs @@ -0,0 +1,121 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DelegateAllowedActions : 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 joinActiveCalls property + public bool? JoinActiveCalls + { + get { return BackingStore?.Get("joinActiveCalls"); } + set { BackingStore?.Set("joinActiveCalls", value); } + } + /// The makeCalls property + public bool? MakeCalls + { + get { return BackingStore?.Get("makeCalls"); } + set { BackingStore?.Set("makeCalls", value); } + } + /// The manageCallAndDelegateSettings property + public bool? ManageCallAndDelegateSettings + { + get { return BackingStore?.Get("manageCallAndDelegateSettings"); } + set { BackingStore?.Set("manageCallAndDelegateSettings", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The pickUpHeldCalls property + public bool? PickUpHeldCalls + { + get { return BackingStore?.Get("pickUpHeldCalls"); } + set { BackingStore?.Set("pickUpHeldCalls", value); } + } + /// The receiveCalls property + public bool? ReceiveCalls + { + get { return BackingStore?.Get("receiveCalls"); } + set { BackingStore?.Set("receiveCalls", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public DelegateAllowedActions() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.DelegateAllowedActions CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.DelegateAllowedActions(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "joinActiveCalls", n => { JoinActiveCalls = n.GetBoolValue(); } }, + { "makeCalls", n => { MakeCalls = n.GetBoolValue(); } }, + { "manageCallAndDelegateSettings", n => { ManageCallAndDelegateSettings = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "pickUpHeldCalls", n => { PickUpHeldCalls = n.GetBoolValue(); } }, + { "receiveCalls", n => { ReceiveCalls = n.GetBoolValue(); } }, + }; + } + /// + /// 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.WriteBoolValue("joinActiveCalls", JoinActiveCalls); + writer.WriteBoolValue("makeCalls", MakeCalls); + writer.WriteBoolValue("manageCallAndDelegateSettings", ManageCallAndDelegateSettings); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteBoolValue("pickUpHeldCalls", PickUpHeldCalls); + writer.WriteBoolValue("receiveCalls", ReceiveCalls); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DelegationSettings.cs b/src/Microsoft.Graph/Generated/Models/DelegationSettings.cs new file mode 100644 index 00000000000..05e082b73be --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DelegationSettings.cs @@ -0,0 +1,80 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DelegationSettings : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The allowedActions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DelegateAllowedActions? AllowedActions + { + get { return BackingStore?.Get("allowedActions"); } + set { BackingStore?.Set("allowedActions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DelegateAllowedActions AllowedActions + { + get { return BackingStore?.Get("allowedActions"); } + set { BackingStore?.Set("allowedActions", value); } + } +#endif + /// The createdDateTime property + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The isActive property + public bool? IsActive + { + get { return BackingStore?.Get("isActive"); } + set { BackingStore?.Set("isActive", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.DelegationSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.DelegationSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "allowedActions", n => { AllowedActions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DelegateAllowedActions.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "isActive", n => { IsActive = n.GetBoolValue(); } }, + }; + } + /// + /// 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("allowedActions", AllowedActions); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteBoolValue("isActive", IsActive); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Device.cs b/src/Microsoft.Graph/Generated/Models/Device.cs index fbb9ea4e554..4e8266b767e 100644 --- a/src/Microsoft.Graph/Generated/Models/Device.cs +++ b/src/Microsoft.Graph/Generated/Models/Device.cs @@ -18,6 +18,22 @@ public bool? AccountEnabled get { return BackingStore?.Get("accountEnabled"); } set { BackingStore?.Set("accountEnabled", value); } } + /// The alternativeNames property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AlternativeNames + { + get { return BackingStore?.Get?>("alternativeNames"); } + set { BackingStore?.Set("alternativeNames", value); } + } +#nullable restore +#else + public List AlternativeNames + { + get { return BackingStore?.Get>("alternativeNames"); } + set { BackingStore?.Set("alternativeNames", value); } + } +#endif /// For internal use only. Not nullable. Supports $filter (eq, not, ge, le). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -125,6 +141,22 @@ public string DeviceOwnership get { return BackingStore?.Get("deviceOwnership"); } set { BackingStore?.Set("deviceOwnership", value); } } +#endif + /// The deviceTemplate property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DeviceTemplate + { + get { return BackingStore?.Get?>("deviceTemplate"); } + set { BackingStore?.Set("deviceTemplate", value); } + } +#nullable restore +#else + public List DeviceTemplate + { + get { return BackingStore?.Get>("deviceTemplate"); } + set { BackingStore?.Set("deviceTemplate", value); } + } #endif /// For internal use only. public int? DeviceVersion @@ -632,6 +664,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "accountEnabled", n => { AccountEnabled = n.GetBoolValue(); } }, + { "alternativeNames", n => { AlternativeNames = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "alternativeSecurityIds", n => { AlternativeSecurityIds = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AlternativeSecurityId.CreateFromDiscriminatorValue)?.AsList(); } }, { "approximateLastSignInDateTime", n => { ApproximateLastSignInDateTime = n.GetDateTimeOffsetValue(); } }, { "commands", n => { Commands = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Command.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -640,6 +673,7 @@ public override IDictionary> GetFieldDeserializers() { "deviceId", n => { DeviceId = n.GetStringValue(); } }, { "deviceMetadata", n => { DeviceMetadata = n.GetStringValue(); } }, { "deviceOwnership", n => { DeviceOwnership = n.GetStringValue(); } }, + { "deviceTemplate", n => { DeviceTemplate = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DeviceTemplate.CreateFromDiscriminatorValue)?.AsList(); } }, { "deviceVersion", n => { DeviceVersion = n.GetIntValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "domainName", n => { DomainName = n.GetStringValue(); } }, @@ -686,6 +720,7 @@ public override void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteBoolValue("accountEnabled", AccountEnabled); + writer.WriteCollectionOfPrimitiveValues("alternativeNames", AlternativeNames); writer.WriteCollectionOfObjectValues("alternativeSecurityIds", AlternativeSecurityIds); writer.WriteDateTimeOffsetValue("approximateLastSignInDateTime", ApproximateLastSignInDateTime); writer.WriteCollectionOfObjectValues("commands", Commands); @@ -694,6 +729,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("deviceId", DeviceId); writer.WriteStringValue("deviceMetadata", DeviceMetadata); writer.WriteStringValue("deviceOwnership", DeviceOwnership); + writer.WriteCollectionOfObjectValues("deviceTemplate", DeviceTemplate); writer.WriteIntValue("deviceVersion", DeviceVersion); writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("domainName", DomainName); diff --git a/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs b/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs index ca9bcef9248..d1090bda124 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs @@ -137,7 +137,7 @@ public List RoleScopeTagIds set { BackingStore?.Set("roleScopeTagIds", value); } } #endif - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ScheduledActionsForRule diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs index bd4e27d3a4a..3dfc5abe6dc 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs @@ -38,7 +38,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Setting definition id that is being referred to a setting. Applicable for reusable setting + /// Setting definition id that is being referred to a setting. Applicable for reusable setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SettingDefinitionId diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs index 77111e2ae9a..49e19576521 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs @@ -18,7 +18,7 @@ public partial class DeviceManagementConfigurationSettingDefinition : global::Mi get { return BackingStore?.Get("accessTypes"); } set { BackingStore?.Set("accessTypes", value); } } - /// Details which device setting is applicable on. Supports: $filters. + /// Details which device setting is applicable on #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingApplicability? Applicability @@ -50,7 +50,7 @@ public string BaseUri set { BackingStore?.Set("baseUri", value); } } #endif - /// Specify category in which the setting is under. Support $filters. + /// Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CategoryId @@ -66,7 +66,7 @@ public string CategoryId set { BackingStore?.Set("categoryId", value); } } #endif - /// Description of the setting. + /// Description of the item #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -82,7 +82,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// Name of the setting. For example: Allow Toast. + /// Display name of the item #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -98,7 +98,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// Help text of the setting. Give more details of the setting. + /// Help text of the item #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? HelpText @@ -114,7 +114,7 @@ public string HelpText set { BackingStore?.Set("helpText", value); } } #endif - /// List of links more info for the setting can be found at. + /// List of links more info for the setting can be found at #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? InfoUrls @@ -210,7 +210,7 @@ public string OffsetUri set { BackingStore?.Set("referredSettingInformationList", value); } } #endif - /// Root setting definition id if the setting is a child setting. + /// Root setting definition if the setting is a child setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RootDefinitionId diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupCollectionDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupCollectionDefinition.cs index d75785746ab..e484a8d842c 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupCollectionDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupCollectionDefinition.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationSettingGroupCollectionDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingGroupDefinition, IParsable #pragma warning restore CS1591 { - /// Maximum number of setting group count in the collection + /// Maximum number of setting group count in the collection. Valid values 1 to 100 public int? MaximumCount { get { return BackingStore?.Get("maximumCount"); } set { BackingStore?.Set("maximumCount", value); } } - /// Minimum number of setting group count in the collection + /// Minimum number of setting group count in the collection. Valid values 1 to 100 public int? MinimumCount { get { return BackingStore?.Get("minimumCount"); } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupDefinition.cs index 74ba5473661..9fb765632b3 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingGroupDefinition.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationSettingGroupDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Dependent child settings to this group of settings. + /// Dependent child settings to this group of settings #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ChildIds diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs index 709accd708a..9edac36a142 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingDefinition.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationSimpleSettingDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Default setting value for this setting + /// Default setting value for this setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingValue? DefaultValue @@ -28,7 +28,7 @@ public partial class DeviceManagementConfigurationSimpleSettingDefinition : glob set { BackingStore?.Set("defaultValue", value); } } #endif - /// list of child settings that depend on this setting + /// list of child settings that depend on this setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DependedOnBy @@ -44,7 +44,7 @@ public partial class DeviceManagementConfigurationSimpleSettingDefinition : glob set { BackingStore?.Set("dependedOnBy", value); } } #endif - /// list of parent settings this setting is dependent on + /// list of parent settings this setting is dependent on. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DependentOn @@ -60,7 +60,7 @@ public partial class DeviceManagementConfigurationSimpleSettingDefinition : glob set { BackingStore?.Set("dependentOn", value); } } #endif - /// Definition of the value for this setting + /// Definition of the value for this setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingValueDefinition? ValueDefinition diff --git a/src/Microsoft.Graph/Generated/Models/DeviceTemplate.cs b/src/Microsoft.Graph/Generated/Models/DeviceTemplate.cs new file mode 100644 index 00000000000..2ecdfc05b9e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DeviceTemplate.cs @@ -0,0 +1,197 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeviceTemplate : global::Microsoft.Graph.Beta.Models.DirectoryObject, IParsable + #pragma warning restore CS1591 + { + /// The deviceAuthority property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceAuthority + { + get { return BackingStore?.Get("deviceAuthority"); } + set { BackingStore?.Set("deviceAuthority", value); } + } +#nullable restore +#else + public string DeviceAuthority + { + get { return BackingStore?.Get("deviceAuthority"); } + set { BackingStore?.Set("deviceAuthority", value); } + } +#endif + /// The deviceInstances property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DeviceInstances + { + get { return BackingStore?.Get?>("deviceInstances"); } + set { BackingStore?.Set("deviceInstances", value); } + } +#nullable restore +#else + public List DeviceInstances + { + get { return BackingStore?.Get>("deviceInstances"); } + set { BackingStore?.Set("deviceInstances", value); } + } +#endif + /// The manufacturer property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Manufacturer + { + get { return BackingStore?.Get("manufacturer"); } + set { BackingStore?.Set("manufacturer", value); } + } +#nullable restore +#else + public string Manufacturer + { + get { return BackingStore?.Get("manufacturer"); } + set { BackingStore?.Set("manufacturer", value); } + } +#endif + /// The model property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Model + { + get { return BackingStore?.Get("model"); } + set { BackingStore?.Set("model", value); } + } +#nullable restore +#else + public string Model + { + get { return BackingStore?.Get("model"); } + set { BackingStore?.Set("model", value); } + } +#endif + /// The mutualTlsOauthConfigurationId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MutualTlsOauthConfigurationId + { + get { return BackingStore?.Get("mutualTlsOauthConfigurationId"); } + set { BackingStore?.Set("mutualTlsOauthConfigurationId", value); } + } +#nullable restore +#else + public string MutualTlsOauthConfigurationId + { + get { return BackingStore?.Get("mutualTlsOauthConfigurationId"); } + set { BackingStore?.Set("mutualTlsOauthConfigurationId", value); } + } +#endif + /// The mutualTlsOauthConfigurationTenantId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MutualTlsOauthConfigurationTenantId + { + get { return BackingStore?.Get("mutualTlsOauthConfigurationTenantId"); } + set { BackingStore?.Set("mutualTlsOauthConfigurationTenantId", value); } + } +#nullable restore +#else + public string MutualTlsOauthConfigurationTenantId + { + get { return BackingStore?.Get("mutualTlsOauthConfigurationTenantId"); } + set { BackingStore?.Set("mutualTlsOauthConfigurationTenantId", value); } + } +#endif + /// The operatingSystem property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OperatingSystem + { + get { return BackingStore?.Get("operatingSystem"); } + set { BackingStore?.Set("operatingSystem", value); } + } +#nullable restore +#else + public string OperatingSystem + { + get { return BackingStore?.Get("operatingSystem"); } + set { BackingStore?.Set("operatingSystem", value); } + } +#endif + /// The owners property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Owners + { + get { return BackingStore?.Get?>("owners"); } + set { BackingStore?.Set("owners", value); } + } +#nullable restore +#else + public List Owners + { + get { return BackingStore?.Get>("owners"); } + set { BackingStore?.Set("owners", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DeviceTemplate() : base() + { + OdataType = "#microsoft.graph.deviceTemplate"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.DeviceTemplate CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.DeviceTemplate(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "deviceAuthority", n => { DeviceAuthority = n.GetStringValue(); } }, + { "deviceInstances", n => { DeviceInstances = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Device.CreateFromDiscriminatorValue)?.AsList(); } }, + { "manufacturer", n => { Manufacturer = n.GetStringValue(); } }, + { "model", n => { Model = n.GetStringValue(); } }, + { "mutualTlsOauthConfigurationId", n => { MutualTlsOauthConfigurationId = n.GetStringValue(); } }, + { "mutualTlsOauthConfigurationTenantId", n => { MutualTlsOauthConfigurationTenantId = n.GetStringValue(); } }, + { "operatingSystem", n => { OperatingSystem = n.GetStringValue(); } }, + { "owners", n => { Owners = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.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.WriteStringValue("deviceAuthority", DeviceAuthority); + writer.WriteCollectionOfObjectValues("deviceInstances", DeviceInstances); + writer.WriteStringValue("manufacturer", Manufacturer); + writer.WriteStringValue("model", Model); + writer.WriteStringValue("mutualTlsOauthConfigurationId", MutualTlsOauthConfigurationId); + writer.WriteStringValue("mutualTlsOauthConfigurationTenantId", MutualTlsOauthConfigurationTenantId); + writer.WriteStringValue("operatingSystem", OperatingSystem); + writer.WriteCollectionOfObjectValues("owners", Owners); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DeviceTemplateCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/DeviceTemplateCollectionResponse.cs new file mode 100644 index 00000000000..9addc503182 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DeviceTemplateCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeviceTemplateCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DeviceTemplate.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/Dictionary.cs b/src/Microsoft.Graph/Generated/Models/Dictionary.cs index eea146c278f..1569a5795c5 100644 --- a/src/Microsoft.Graph/Generated/Models/Dictionary.cs +++ b/src/Microsoft.Graph/Generated/Models/Dictionary.cs @@ -62,6 +62,7 @@ public Dictionary() "#microsoft.graph.partner.security.additionalDataDictionary" => new global::Microsoft.Graph.Beta.Models.Partner.Security.AdditionalDataDictionary(), "#microsoft.graph.plannerFormsDictionary" => new global::Microsoft.Graph.Beta.Models.PlannerFormsDictionary(), "#microsoft.graph.resultTemplateDictionary" => new global::Microsoft.Graph.Beta.Models.ResultTemplateDictionary(), + "#microsoft.graph.wafAllowedHeadersDictionary" => new global::Microsoft.Graph.Beta.Models.WafAllowedHeadersDictionary(), _ => new global::Microsoft.Graph.Beta.Models.Dictionary(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs b/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs index 612139cfe99..1602c8d39a7 100644 --- a/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs +++ b/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs @@ -41,6 +41,7 @@ public DateTimeOffset? DeletedDateTime "#microsoft.graph.contract" => new global::Microsoft.Graph.Beta.Models.Contract(), "#microsoft.graph.crossTenantAccessPolicy" => new global::Microsoft.Graph.Beta.Models.CrossTenantAccessPolicy(), "#microsoft.graph.device" => new global::Microsoft.Graph.Beta.Models.Device(), + "#microsoft.graph.deviceTemplate" => new global::Microsoft.Graph.Beta.Models.DeviceTemplate(), "#microsoft.graph.directoryObjectPartnerReference" => new global::Microsoft.Graph.Beta.Models.DirectoryObjectPartnerReference(), "#microsoft.graph.directoryRole" => new global::Microsoft.Graph.Beta.Models.DirectoryRole(), "#microsoft.graph.directoryRoleTemplate" => new global::Microsoft.Graph.Beta.Models.DirectoryRoleTemplate(), @@ -55,6 +56,7 @@ public DateTimeOffset? DeletedDateTime "#microsoft.graph.homeRealmDiscoveryPolicy" => new global::Microsoft.Graph.Beta.Models.HomeRealmDiscoveryPolicy(), "#microsoft.graph.identitySecurityDefaultsEnforcementPolicy" => new global::Microsoft.Graph.Beta.Models.IdentitySecurityDefaultsEnforcementPolicy(), "#microsoft.graph.multiTenantOrganizationMember" => new global::Microsoft.Graph.Beta.Models.MultiTenantOrganizationMember(), + "#microsoft.graph.mutualTlsOauthConfiguration" => new global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration(), "#microsoft.graph.organization" => new global::Microsoft.Graph.Beta.Models.Organization(), "#microsoft.graph.orgContact" => new global::Microsoft.Graph.Beta.Models.OrgContact(), "#microsoft.graph.pendingExternalUserProfile" => new global::Microsoft.Graph.Beta.Models.PendingExternalUserProfile(), @@ -70,6 +72,7 @@ public DateTimeOffset? DeletedDateTime "#microsoft.graph.tokenIssuancePolicy" => new global::Microsoft.Graph.Beta.Models.TokenIssuancePolicy(), "#microsoft.graph.tokenLifetimePolicy" => new global::Microsoft.Graph.Beta.Models.TokenLifetimePolicy(), "#microsoft.graph.trustedCertificateAuthorityAsEntityBase" => new global::Microsoft.Graph.Beta.Models.TrustedCertificateAuthorityAsEntityBase(), + "#microsoft.graph.trustedCertificateAuthorityBase" => new global::Microsoft.Graph.Beta.Models.TrustedCertificateAuthorityBase(), "#microsoft.graph.user" => new global::Microsoft.Graph.Beta.Models.User(), _ => new global::Microsoft.Graph.Beta.Models.DirectoryObject(), }; diff --git a/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs b/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs index ddd49ad8934..dc240a6f56b 100644 --- a/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs +++ b/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs @@ -315,6 +315,22 @@ public partial class DirectoryObject1 : global::Microsoft.Graph.Beta.Models.Enti get { return BackingStore?.Get>("subscriptions"); } set { BackingStore?.Set("subscriptions", value); } } +#endif + /// The templates property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Template? Templates + { + get { return BackingStore?.Get("templates"); } + set { BackingStore?.Set("templates", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Template Templates + { + get { return BackingStore?.Get("templates"); } + set { BackingStore?.Set("templates", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -353,6 +369,7 @@ public override IDictionary> GetFieldDeserializers() { "recommendations", n => { Recommendations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Recommendation.CreateFromDiscriminatorValue)?.AsList(); } }, { "sharedEmailDomains", n => { SharedEmailDomains = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SharedEmailDomain.CreateFromDiscriminatorValue)?.AsList(); } }, { "subscriptions", n => { Subscriptions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CompanySubscription.CreateFromDiscriminatorValue)?.AsList(); } }, + { "templates", n => { Templates = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Template.CreateFromDiscriminatorValue); } }, }; } /// @@ -382,6 +399,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("recommendations", Recommendations); writer.WriteCollectionOfObjectValues("sharedEmailDomains", SharedEmailDomains); writer.WriteCollectionOfObjectValues("subscriptions", Subscriptions); + writer.WriteObjectValue("templates", Templates); } } } diff --git a/src/Microsoft.Graph/Generated/Models/DriveRestoreArtifactsBulkAdditionRequest.cs b/src/Microsoft.Graph/Generated/Models/DriveRestoreArtifactsBulkAdditionRequest.cs index 3fbb04b99a1..d1dc446fa6e 100644 --- a/src/Microsoft.Graph/Generated/Models/DriveRestoreArtifactsBulkAdditionRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/DriveRestoreArtifactsBulkAdditionRequest.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DriveRestoreArtifactsBulkAdditionRequest : global::Microsoft.Graph.Beta.Models.RestoreArtifactsBulkRequestBase, IParsable #pragma warning restore CS1591 { - /// The directoryObjectIds property + /// The list of directory object IDs that are added to the corresponding OneDrive for work or school restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DirectoryObjectIds @@ -28,7 +28,7 @@ public List DirectoryObjectIds set { BackingStore?.Set("directoryObjectIds", value); } } #endif - /// The drives property + /// The list of email addresses that are added to the corresponding OneDrive for work or school restore session in a bulk operation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Drives diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index f404380ffd0..66f7ccb5fac 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -141,6 +141,9 @@ public Entity() "#microsoft.graph.agreementFileLocalization" => new global::Microsoft.Graph.Beta.Models.AgreementFileLocalization(), "#microsoft.graph.agreementFileProperties" => new global::Microsoft.Graph.Beta.Models.AgreementFileProperties(), "#microsoft.graph.agreementFileVersion" => new global::Microsoft.Graph.Beta.Models.AgreementFileVersion(), + "#microsoft.graph.aiInteraction" => new global::Microsoft.Graph.Beta.Models.AiInteraction(), + "#microsoft.graph.aiInteractionHistory" => new global::Microsoft.Graph.Beta.Models.AiInteractionHistory(), + "#microsoft.graph.aiUser" => new global::Microsoft.Graph.Beta.Models.AiUser(), "#microsoft.graph.alert" => new global::Microsoft.Graph.Beta.Models.Alert(), "#microsoft.graph.allowedDataLocation" => new global::Microsoft.Graph.Beta.Models.AllowedDataLocation(), "#microsoft.graph.allowedValue" => new global::Microsoft.Graph.Beta.Models.AllowedValue(), @@ -213,6 +216,7 @@ public Entity() "#microsoft.graph.androidWorkProfileTrustedRootCertificate" => new global::Microsoft.Graph.Beta.Models.AndroidWorkProfileTrustedRootCertificate(), "#microsoft.graph.androidWorkProfileVpnConfiguration" => new global::Microsoft.Graph.Beta.Models.AndroidWorkProfileVpnConfiguration(), "#microsoft.graph.androidWorkProfileWiFiConfiguration" => new global::Microsoft.Graph.Beta.Models.AndroidWorkProfileWiFiConfiguration(), + "#microsoft.graph.announcement" => new global::Microsoft.Graph.Beta.Models.Announcement(), "#microsoft.graph.anonymousGuestConversationMember" => new global::Microsoft.Graph.Beta.Models.AnonymousGuestConversationMember(), "#microsoft.graph.aospDeviceOwnerCertificateProfileBase" => new global::Microsoft.Graph.Beta.Models.AospDeviceOwnerCertificateProfileBase(), "#microsoft.graph.aospDeviceOwnerCompliancePolicy" => new global::Microsoft.Graph.Beta.Models.AospDeviceOwnerCompliancePolicy(), @@ -366,6 +370,7 @@ public Entity() "#microsoft.graph.callRecords.participantBase" => new global::Microsoft.Graph.Beta.Models.CallRecords.ParticipantBase(), "#microsoft.graph.callRecords.segment" => new global::Microsoft.Graph.Beta.Models.CallRecords.Segment(), "#microsoft.graph.callRecords.session" => new global::Microsoft.Graph.Beta.Models.CallRecords.Session(), + "#microsoft.graph.callSettings" => new global::Microsoft.Graph.Beta.Models.CallSettings(), "#microsoft.graph.callTranscript" => new global::Microsoft.Graph.Beta.Models.CallTranscript(), "#microsoft.graph.cancelMediaProcessingOperation" => new global::Microsoft.Graph.Beta.Models.CancelMediaProcessingOperation(), "#microsoft.graph.canvasLayout" => new global::Microsoft.Graph.Beta.Models.CanvasLayout(), @@ -377,6 +382,7 @@ public Entity() "#microsoft.graph.certificateBasedAuthConfiguration" => new global::Microsoft.Graph.Beta.Models.CertificateBasedAuthConfiguration(), "#microsoft.graph.certificateBasedAuthPki" => new global::Microsoft.Graph.Beta.Models.CertificateBasedAuthPki(), "#microsoft.graph.certificateConnectorDetails" => new global::Microsoft.Graph.Beta.Models.CertificateConnectorDetails(), + "#microsoft.graph.changeItemBase" => new global::Microsoft.Graph.Beta.Models.ChangeItemBase(), "#microsoft.graph.changeTrackedEntity" => new global::Microsoft.Graph.Beta.Models.ChangeTrackedEntity(), "#microsoft.graph.channel" => new global::Microsoft.Graph.Beta.Models.Channel(), "#microsoft.graph.chat" => new global::Microsoft.Graph.Beta.Models.Chat(), @@ -496,6 +502,7 @@ public Entity() "#microsoft.graph.delegatedAdminRelationshipRequest" => new global::Microsoft.Graph.Beta.Models.DelegatedAdminRelationshipRequest(), "#microsoft.graph.delegatedAdminServiceManagementDetail" => new global::Microsoft.Graph.Beta.Models.DelegatedAdminServiceManagementDetail(), "#microsoft.graph.delegatedPermissionClassification" => new global::Microsoft.Graph.Beta.Models.DelegatedPermissionClassification(), + "#microsoft.graph.delegationSettings" => new global::Microsoft.Graph.Beta.Models.DelegationSettings(), "#microsoft.graph.deletedChat" => new global::Microsoft.Graph.Beta.Models.DeletedChat(), "#microsoft.graph.deletedItemContainer" => new global::Microsoft.Graph.Beta.Models.DeletedItemContainer(), "#microsoft.graph.deletedTeam" => new global::Microsoft.Graph.Beta.Models.DeletedTeam(), @@ -626,6 +633,7 @@ public Entity() "#microsoft.graph.deviceRegistrationPolicy" => new global::Microsoft.Graph.Beta.Models.DeviceRegistrationPolicy(), "#microsoft.graph.deviceSetupConfiguration" => new global::Microsoft.Graph.Beta.Models.DeviceSetupConfiguration(), "#microsoft.graph.deviceShellScript" => new global::Microsoft.Graph.Beta.Models.DeviceShellScript(), + "#microsoft.graph.deviceTemplate" => new global::Microsoft.Graph.Beta.Models.DeviceTemplate(), "#microsoft.graph.directory" => new global::Microsoft.Graph.Beta.Models.DirectoryObject1(), "#microsoft.graph.directoryAudit" => new global::Microsoft.Graph.Beta.Models.DirectoryAudit(), "#microsoft.graph.directoryDefinition" => new global::Microsoft.Graph.Beta.Models.DirectoryDefinition(), @@ -1045,6 +1053,7 @@ public Entity() "#microsoft.graph.mailboxRestoreArtifact" => new global::Microsoft.Graph.Beta.Models.MailboxRestoreArtifact(), "#microsoft.graph.mailboxRestoreArtifactsBulkAdditionRequest" => new global::Microsoft.Graph.Beta.Models.MailboxRestoreArtifactsBulkAdditionRequest(), "#microsoft.graph.mailFolder" => new global::Microsoft.Graph.Beta.Models.MailFolder(), + "#microsoft.graph.mailFolderOperation" => new global::Microsoft.Graph.Beta.Models.MailFolderOperation(), "#microsoft.graph.mailSearchFolder" => new global::Microsoft.Graph.Beta.Models.MailSearchFolder(), "#microsoft.graph.malwareStateForWindowsDevice" => new global::Microsoft.Graph.Beta.Models.MalwareStateForWindowsDevice(), "#microsoft.graph.managedAllDeviceCertificateState" => new global::Microsoft.Graph.Beta.Models.ManagedAllDeviceCertificateState(), @@ -1182,6 +1191,7 @@ public Entity() "#microsoft.graph.multiValueLegacyExtendedProperty" => new global::Microsoft.Graph.Beta.Models.MultiValueLegacyExtendedProperty(), "#microsoft.graph.muteParticipantOperation" => new global::Microsoft.Graph.Beta.Models.MuteParticipantOperation(), "#microsoft.graph.muteParticipantsOperation" => new global::Microsoft.Graph.Beta.Models.MuteParticipantsOperation(), + "#microsoft.graph.mutualTlsOauthConfiguration" => new global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration(), "#microsoft.graph.namedLocation" => new global::Microsoft.Graph.Beta.Models.NamedLocation(), "#microsoft.graph.ndesConnector" => new global::Microsoft.Graph.Beta.Models.NdesConnector(), "#microsoft.graph.networkaccess.alert" => new global::Microsoft.Graph.Beta.Models.Networkaccess.Alert(), @@ -1237,6 +1247,7 @@ public Entity() "#microsoft.graph.office365ServicesUserCounts" => new global::Microsoft.Graph.Beta.Models.Office365ServicesUserCounts(), "#microsoft.graph.officeGraphInsights" => new global::Microsoft.Graph.Beta.Models.OfficeGraphInsights(), "#microsoft.graph.officeSuiteApp" => new global::Microsoft.Graph.Beta.Models.OfficeSuiteApp(), + "#microsoft.graph.oidcIdentityProvider" => new global::Microsoft.Graph.Beta.Models.OidcIdentityProvider(), "#microsoft.graph.onAttributeCollectionListener" => new global::Microsoft.Graph.Beta.Models.OnAttributeCollectionListener(), "#microsoft.graph.onAttributeCollectionStartCustomExtension" => new global::Microsoft.Graph.Beta.Models.OnAttributeCollectionStartCustomExtension(), "#microsoft.graph.onAttributeCollectionStartListener" => new global::Microsoft.Graph.Beta.Models.OnAttributeCollectionStartListener(), @@ -1476,6 +1487,7 @@ public Entity() "#microsoft.graph.riskyServicePrincipalHistoryItem" => new global::Microsoft.Graph.Beta.Models.RiskyServicePrincipalHistoryItem(), "#microsoft.graph.riskyUser" => new global::Microsoft.Graph.Beta.Models.RiskyUser(), "#microsoft.graph.riskyUserHistoryItem" => new global::Microsoft.Graph.Beta.Models.RiskyUserHistoryItem(), + "#microsoft.graph.roadmap" => new global::Microsoft.Graph.Beta.Models.Roadmap(), "#microsoft.graph.roleAssignment" => new global::Microsoft.Graph.Beta.Models.RoleAssignment(), "#microsoft.graph.roleDefinition" => new global::Microsoft.Graph.Beta.Models.RoleDefinition(), "#microsoft.graph.roleManagementAlert" => new global::Microsoft.Graph.Beta.Models.RoleManagementAlert(), @@ -1524,12 +1536,17 @@ public Entity() "#microsoft.graph.security.casesRoot" => new global::Microsoft.Graph.Beta.Models.Security.CasesRoot(), "#microsoft.graph.security.categoryTemplate" => new global::Microsoft.Graph.Beta.Models.Security.CategoryTemplate(), "#microsoft.graph.security.citationTemplate" => new global::Microsoft.Graph.Beta.Models.Security.CitationTemplate(), + "#microsoft.graph.security.cloudAppDiscoveryReport" => new global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport(), "#microsoft.graph.security.collaborationRoot" => new global::Microsoft.Graph.Beta.Models.Security.CollaborationRoot(), + "#microsoft.graph.security.dataDiscoveryReport" => new global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport(), + "#microsoft.graph.security.dataDiscoveryRoot" => new global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot(), "#microsoft.graph.security.dataSet" => new global::Microsoft.Graph.Beta.Models.Security.DataSet(), "#microsoft.graph.security.dataSource" => new global::Microsoft.Graph.Beta.Models.Security.DataSource(), "#microsoft.graph.security.dataSourceContainer" => new global::Microsoft.Graph.Beta.Models.Security.DataSourceContainer(), "#microsoft.graph.security.departmentTemplate" => new global::Microsoft.Graph.Beta.Models.Security.DepartmentTemplate(), "#microsoft.graph.security.detectionRule" => new global::Microsoft.Graph.Beta.Models.Security.DetectionRule(), + "#microsoft.graph.security.discoveredCloudAppDetail" => new global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppDetail(), + "#microsoft.graph.security.discoveredCloudAppInfo" => new global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppInfo(), "#microsoft.graph.security.dispositionReviewStage" => new global::Microsoft.Graph.Beta.Models.Security.DispositionReviewStage(), "#microsoft.graph.security.ediscoveryAddToReviewSetOperation" => new global::Microsoft.Graph.Beta.Models.Security.EdiscoveryAddToReviewSetOperation(), "#microsoft.graph.security.ediscoveryCase" => new global::Microsoft.Graph.Beta.Models.Security.EdiscoveryCase(), @@ -1553,6 +1570,7 @@ public Entity() "#microsoft.graph.security.emailThreatSubmission" => new global::Microsoft.Graph.Beta.Models.Security.EmailThreatSubmission(), "#microsoft.graph.security.emailThreatSubmissionPolicy" => new global::Microsoft.Graph.Beta.Models.Security.EmailThreatSubmissionPolicy(), "#microsoft.graph.security.emailUrlThreatSubmission" => new global::Microsoft.Graph.Beta.Models.Security.EmailUrlThreatSubmission(), + "#microsoft.graph.security.endpointDiscoveredCloudAppDetail" => new global::Microsoft.Graph.Beta.Models.Security.EndpointDiscoveredCloudAppDetail(), "#microsoft.graph.security.file" => new global::Microsoft.Graph.Beta.Models.Security.FileObject(), "#microsoft.graph.security.fileContentThreatSubmission" => new global::Microsoft.Graph.Beta.Models.Security.FileContentThreatSubmission(), "#microsoft.graph.security.filePlanDescriptor" => new global::Microsoft.Graph.Beta.Models.Security.FilePlanDescriptor(), @@ -1743,6 +1761,7 @@ public Entity() "#microsoft.graph.teamworkTag" => new global::Microsoft.Graph.Beta.Models.TeamworkTag(), "#microsoft.graph.teamworkTagMember" => new global::Microsoft.Graph.Beta.Models.TeamworkTagMember(), "#microsoft.graph.telecomExpenseManagementPartner" => new global::Microsoft.Graph.Beta.Models.TelecomExpenseManagementPartner(), + "#microsoft.graph.template" => new global::Microsoft.Graph.Beta.Models.Template(), "#microsoft.graph.temporaryAccessPassAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.TemporaryAccessPassAuthenticationMethod(), "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Beta.Models.TemporaryAccessPassAuthenticationMethodConfiguration(), "#microsoft.graph.tenantAppManagementPolicy" => new global::Microsoft.Graph.Beta.Models.TenantAppManagementPolicy(), @@ -1781,6 +1800,7 @@ public Entity() "#microsoft.graph.trainingLanguageDetail" => new global::Microsoft.Graph.Beta.Models.TrainingLanguageDetail(), "#microsoft.graph.trending" => new global::Microsoft.Graph.Beta.Models.Trending(), "#microsoft.graph.trustedCertificateAuthorityAsEntityBase" => new global::Microsoft.Graph.Beta.Models.TrustedCertificateAuthorityAsEntityBase(), + "#microsoft.graph.trustedCertificateAuthorityBase" => new global::Microsoft.Graph.Beta.Models.TrustedCertificateAuthorityBase(), "#microsoft.graph.trustFrameworkKeySet" => new global::Microsoft.Graph.Beta.Models.TrustFrameworkKeySet(), "#microsoft.graph.trustFrameworkPolicy" => new global::Microsoft.Graph.Beta.Models.TrustFrameworkPolicy(), "#microsoft.graph.unenforcedMfaAwsUserFinding" => new global::Microsoft.Graph.Beta.Models.UnenforcedMfaAwsUserFinding(), @@ -1816,6 +1836,7 @@ public Entity() "#microsoft.graph.unmuteParticipantOperation" => new global::Microsoft.Graph.Beta.Models.UnmuteParticipantOperation(), "#microsoft.graph.unsupportedDeviceConfiguration" => new global::Microsoft.Graph.Beta.Models.UnsupportedDeviceConfiguration(), "#microsoft.graph.unsupportedGroupPolicyExtension" => new global::Microsoft.Graph.Beta.Models.UnsupportedGroupPolicyExtension(), + "#microsoft.graph.updateAllMessagesReadStateOperation" => new global::Microsoft.Graph.Beta.Models.UpdateAllMessagesReadStateOperation(), "#microsoft.graph.updateRecordingStatusOperation" => new global::Microsoft.Graph.Beta.Models.UpdateRecordingStatusOperation(), "#microsoft.graph.urlAssessmentRequest" => new global::Microsoft.Graph.Beta.Models.UrlAssessmentRequest(), "#microsoft.graph.usageRight" => new global::Microsoft.Graph.Beta.Models.UsageRight(), diff --git a/src/Microsoft.Graph/Generated/Models/ExchangeRestoreSession.cs b/src/Microsoft.Graph/Generated/Models/ExchangeRestoreSession.cs index 76151b3958b..1582c057b00 100644 --- a/src/Microsoft.Graph/Generated/Models/ExchangeRestoreSession.cs +++ b/src/Microsoft.Graph/Generated/Models/ExchangeRestoreSession.cs @@ -44,7 +44,7 @@ public partial class ExchangeRestoreSession : global::Microsoft.Graph.Beta.Model set { BackingStore?.Set("mailboxRestoreArtifacts", value); } } #endif - /// The mailboxRestoreArtifactsBulkAdditionRequests property + /// A collection of user mailboxes and destination details that can be used to restore Exchange mailboxes. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? MailboxRestoreArtifactsBulkAdditionRequests diff --git a/src/Microsoft.Graph/Generated/Models/ExtendedKeyUsage.cs b/src/Microsoft.Graph/Generated/Models/ExtendedKeyUsage.cs index 672bb33de6c..ec7e3bfe4a6 100644 --- a/src/Microsoft.Graph/Generated/Models/ExtendedKeyUsage.cs +++ b/src/Microsoft.Graph/Generated/Models/ExtendedKeyUsage.cs @@ -22,7 +22,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. + /// Extended Key Usage Name #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name @@ -38,7 +38,7 @@ public string Name set { BackingStore?.Set("name", value); } } #endif - /// The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. + /// Extended Key Usage Object Identifier #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ObjectIdentifier diff --git a/src/Microsoft.Graph/Generated/Models/FederatedIdentityCredential.cs b/src/Microsoft.Graph/Generated/Models/FederatedIdentityCredential.cs index 887c7470556..ece2ab0bb03 100644 --- a/src/Microsoft.Graph/Generated/Models/FederatedIdentityCredential.cs +++ b/src/Microsoft.Graph/Generated/Models/FederatedIdentityCredential.cs @@ -27,6 +27,22 @@ public List Audiences get { return BackingStore?.Get>("audiences"); } set { BackingStore?.Set("audiences", value); } } +#endif + /// Enables the use of claims matching expressions against specified claims. For the list of supported expression syntax and claims, visit the Flexible FIC reference. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.FederatedIdentityExpression? ClaimsMatchingExpression + { + get { return BackingStore?.Get("claimsMatchingExpression"); } + set { BackingStore?.Set("claimsMatchingExpression", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.FederatedIdentityExpression ClaimsMatchingExpression + { + get { return BackingStore?.Get("claimsMatchingExpression"); } + set { BackingStore?.Set("claimsMatchingExpression", value); } + } #endif /// The un-validated, user-provided description of the federated identity credential. It has a limit of 600 characters. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -111,6 +127,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "audiences", n => { Audiences = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "claimsMatchingExpression", n => { ClaimsMatchingExpression = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.FederatedIdentityExpression.CreateFromDiscriminatorValue); } }, { "description", n => { Description = n.GetStringValue(); } }, { "issuer", n => { Issuer = n.GetStringValue(); } }, { "name", n => { Name = n.GetStringValue(); } }, @@ -126,6 +143,7 @@ public override void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfPrimitiveValues("audiences", Audiences); + writer.WriteObjectValue("claimsMatchingExpression", ClaimsMatchingExpression); writer.WriteStringValue("description", Description); writer.WriteStringValue("issuer", Issuer); writer.WriteStringValue("name", Name); diff --git a/src/Microsoft.Graph/Generated/Models/FederatedIdentityExpression.cs b/src/Microsoft.Graph/Generated/Models/FederatedIdentityExpression.cs new file mode 100644 index 00000000000..394fe1ffcd6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FederatedIdentityExpression.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FederatedIdentityExpression : 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; } + /// Indicated the language version to be used. Should always be set to 1. Required. + public int? LanguageVersion + { + get { return BackingStore?.Get("languageVersion"); } + set { BackingStore?.Set("languageVersion", 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 + /// Indicates the configured expression. Required. +#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 FederatedIdentityExpression() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.FederatedIdentityExpression CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.FederatedIdentityExpression(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "languageVersion", n => { LanguageVersion = n.GetIntValue(); } }, + { "@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.WriteIntValue("languageVersion", LanguageVersion); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("value", Value); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IPv4CidrRange.cs b/src/Microsoft.Graph/Generated/Models/IPv4CidrRange.cs index 8955daf456e..895f83a011b 100644 --- a/src/Microsoft.Graph/Generated/Models/IPv4CidrRange.cs +++ b/src/Microsoft.Graph/Generated/Models/IPv4CidrRange.cs @@ -7,10 +7,11 @@ using System; namespace Microsoft.Graph.Beta.Models { + /// + /// IP range base class for representing IPV4, IPV6 address ranges + /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 public partial class IPv4CidrRange : global::Microsoft.Graph.Beta.Models.IpRange, IParsable - #pragma warning restore CS1591 { /// IPv4 address in CIDR notation. Not nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Models/IPv6CidrRange.cs b/src/Microsoft.Graph/Generated/Models/IPv6CidrRange.cs index 3c0fb54664f..3fc888e790b 100644 --- a/src/Microsoft.Graph/Generated/Models/IPv6CidrRange.cs +++ b/src/Microsoft.Graph/Generated/Models/IPv6CidrRange.cs @@ -7,10 +7,11 @@ using System; namespace Microsoft.Graph.Beta.Models { + /// + /// IP range base class for representing IPV4, IPV6 address ranges + /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 public partial class IPv6CidrRange : global::Microsoft.Graph.Beta.Models.IpRange, IParsable - #pragma warning restore CS1591 { /// IPv6 address in CIDR notation. Not nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs b/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs index c89a6d4009c..85ff09166d8 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs @@ -180,6 +180,22 @@ public string OdataType get { return BackingStore?.Get("@odata.type"); } set { BackingStore?.Set("@odata.type", value); } } +#endif + /// Represents entry point for Microsoft Entra product changes and planned new features. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ProductChanges + { + get { return BackingStore?.Get?>("productChanges"); } + set { BackingStore?.Set("productChanges", value); } + } +#nullable restore +#else + public List ProductChanges + { + get { return BackingStore?.Get>("productChanges"); } + set { BackingStore?.Set("productChanges", value); } + } #endif /// Represents entry point for identity userflow attributes. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -249,6 +265,7 @@ public virtual IDictionary> GetFieldDeserializers() { "customAuthenticationExtensions", n => { CustomAuthenticationExtensions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CustomAuthenticationExtension.CreateFromDiscriminatorValue)?.AsList(); } }, { "identityProviders", n => { IdentityProviders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityProviderBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "productChanges", n => { ProductChanges = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ChangeItemBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "userFlowAttributes", n => { UserFlowAttributes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityUserFlowAttribute.CreateFromDiscriminatorValue)?.AsList(); } }, { "userFlows", n => { UserFlows = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityUserFlow.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -270,6 +287,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("customAuthenticationExtensions", CustomAuthenticationExtensions); writer.WriteCollectionOfObjectValues("identityProviders", IdentityProviders); writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("productChanges", ProductChanges); writer.WriteCollectionOfObjectValues("userFlowAttributes", UserFlowAttributes); writer.WriteCollectionOfObjectValues("userFlows", UserFlows); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Models/IdentityProviderBase.cs b/src/Microsoft.Graph/Generated/Models/IdentityProviderBase.cs index 7582d81ee7c..30298dd2bdc 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityProviderBase.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityProviderBase.cs @@ -42,6 +42,7 @@ public string DisplayName "#microsoft.graph.appleManagedIdentityProvider" => new global::Microsoft.Graph.Beta.Models.AppleManagedIdentityProvider(), "#microsoft.graph.builtInIdentityProvider" => new global::Microsoft.Graph.Beta.Models.BuiltInIdentityProvider(), "#microsoft.graph.internalDomainFederation" => new global::Microsoft.Graph.Beta.Models.InternalDomainFederation(), + "#microsoft.graph.oidcIdentityProvider" => new global::Microsoft.Graph.Beta.Models.OidcIdentityProvider(), "#microsoft.graph.openIdConnectIdentityProvider" => new global::Microsoft.Graph.Beta.Models.OpenIdConnectIdentityProvider(), "#microsoft.graph.samlOrWsFedExternalDomainFederation" => new global::Microsoft.Graph.Beta.Models.SamlOrWsFedExternalDomainFederation(), "#microsoft.graph.samlOrWsFedProvider" => new global::Microsoft.Graph.Beta.Models.SamlOrWsFedProvider(), diff --git a/src/Microsoft.Graph/Generated/Models/IdentitySet.cs b/src/Microsoft.Graph/Generated/Models/IdentitySet.cs index 55f8fee2091..c08d9323fae 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentitySet.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentitySet.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// Optional. The application associated with this action. + /// The Identity of the Application. This property is read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Identity? Application @@ -37,7 +37,7 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// Optional. The device associated with this action. + /// The Identity of the Device. This property is read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Identity? Device @@ -69,7 +69,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Optional. The user associated with this action. + /// The Identity of the User. This property is read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.Identity? User @@ -104,6 +104,7 @@ public IdentitySet() var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.aiInteractionMentionedIdentitySet" => new global::Microsoft.Graph.Beta.Models.AiInteractionMentionedIdentitySet(), "#microsoft.graph.approvalIdentitySet" => new global::Microsoft.Graph.Beta.Models.ApprovalIdentitySet(), "#microsoft.graph.chatMessageFromIdentitySet" => new global::Microsoft.Graph.Beta.Models.ChatMessageFromIdentitySet(), "#microsoft.graph.chatMessageMentionedIdentitySet" => new global::Microsoft.Graph.Beta.Models.ChatMessageMentionedIdentitySet(), diff --git a/src/Microsoft.Graph/Generated/Models/IpRange.cs b/src/Microsoft.Graph/Generated/Models/IpRange.cs index 00f29ea2274..f2f848dc401 100644 --- a/src/Microsoft.Graph/Generated/Models/IpRange.cs +++ b/src/Microsoft.Graph/Generated/Models/IpRange.cs @@ -8,10 +8,11 @@ using System; namespace Microsoft.Graph.Beta.Models { + /// + /// IP range base class for representing IPV4, IPV6 address ranges + /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 public partial class IpRange : 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 diff --git a/src/Microsoft.Graph/Generated/Models/LiveCaptionOptions.cs b/src/Microsoft.Graph/Generated/Models/LiveCaptionOptions.cs new file mode 100644 index 00000000000..0b00e05ebf9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/LiveCaptionOptions.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LiveCaptionOptions : 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 streamUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? StreamUrl + { + get { return BackingStore?.Get("streamUrl"); } + set { BackingStore?.Set("streamUrl", value); } + } +#nullable restore +#else + public string StreamUrl + { + get { return BackingStore?.Get("streamUrl"); } + set { BackingStore?.Set("streamUrl", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LiveCaptionOptions() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.LiveCaptionOptions CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.LiveCaptionOptions(); + } + /// + /// 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(); } }, + { "streamUrl", n => { StreamUrl = 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("streamUrl", StreamUrl); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MailFolder.cs b/src/Microsoft.Graph/Generated/Models/MailFolder.cs index 6e7ea475251..cac480104e2 100644 --- a/src/Microsoft.Graph/Generated/Models/MailFolder.cs +++ b/src/Microsoft.Graph/Generated/Models/MailFolder.cs @@ -103,6 +103,22 @@ public bool? IsHidden get { return BackingStore?.Get>("multiValueExtendedProperties"); } set { BackingStore?.Set("multiValueExtendedProperties", value); } } +#endif + /// The operations property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Operations + { + get { return BackingStore?.Get?>("operations"); } + set { BackingStore?.Set("operations", value); } + } +#nullable restore +#else + public List Operations + { + get { return BackingStore?.Get>("operations"); } + set { BackingStore?.Set("operations", value); } + } #endif /// The unique identifier for the mailFolder's parent mailFolder. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -210,6 +226,7 @@ public override IDictionary> GetFieldDeserializers() { "messageRules", n => { MessageRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MessageRule.CreateFromDiscriminatorValue)?.AsList(); } }, { "messages", n => { Messages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue)?.AsList(); } }, { "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, + { "operations", n => { Operations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MailFolderOperation.CreateFromDiscriminatorValue)?.AsList(); } }, { "parentFolderId", n => { ParentFolderId = n.GetStringValue(); } }, { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, { "totalItemCount", n => { TotalItemCount = n.GetIntValue(); } }, @@ -233,6 +250,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("messageRules", MessageRules); writer.WriteCollectionOfObjectValues("messages", Messages); writer.WriteCollectionOfObjectValues("multiValueExtendedProperties", MultiValueExtendedProperties); + writer.WriteCollectionOfObjectValues("operations", Operations); writer.WriteStringValue("parentFolderId", ParentFolderId); writer.WriteCollectionOfObjectValues("singleValueExtendedProperties", SingleValueExtendedProperties); writer.WriteIntValue("totalItemCount", TotalItemCount); diff --git a/src/Microsoft.Graph/Generated/Models/MailFolderOperation.cs b/src/Microsoft.Graph/Generated/Models/MailFolderOperation.cs new file mode 100644 index 00000000000..9c6aa4fe269 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MailFolderOperation.cs @@ -0,0 +1,77 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MailFolderOperation : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The resourceLocation property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceLocation + { + get { return BackingStore?.Get("resourceLocation"); } + set { BackingStore?.Set("resourceLocation", value); } + } +#nullable restore +#else + public string ResourceLocation + { + get { return BackingStore?.Get("resourceLocation"); } + set { BackingStore?.Set("resourceLocation", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Beta.Models.MailFolderOperationStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.MailFolderOperation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.updateAllMessagesReadStateOperation" => new global::Microsoft.Graph.Beta.Models.UpdateAllMessagesReadStateOperation(), + _ => new global::Microsoft.Graph.Beta.Models.MailFolderOperation(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "resourceLocation", n => { ResourceLocation = n.GetStringValue(); } }, + { "status", n => { Status = 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("resourceLocation", ResourceLocation); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MailFolderOperationCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/MailFolderOperationCollectionResponse.cs new file mode 100644 index 00000000000..194e06f519f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MailFolderOperationCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MailFolderOperationCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.MailFolderOperationCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.MailFolderOperationCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MailFolderOperation.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/MailFolderOperationStatus.cs b/src/Microsoft.Graph/Generated/Models/MailFolderOperationStatus.cs new file mode 100644 index 00000000000..62c09d8356a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MailFolderOperationStatus.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum MailFolderOperationStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "running")] + #pragma warning disable CS1591 + Running, + #pragma warning restore CS1591 + [EnumMember(Value = "succeeded")] + #pragma warning disable CS1591 + Succeeded, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/MailboxRestoreArtifactsBulkAdditionRequest.cs b/src/Microsoft.Graph/Generated/Models/MailboxRestoreArtifactsBulkAdditionRequest.cs index b49a438df08..fc110d4eb43 100644 --- a/src/Microsoft.Graph/Generated/Models/MailboxRestoreArtifactsBulkAdditionRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/MailboxRestoreArtifactsBulkAdditionRequest.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class MailboxRestoreArtifactsBulkAdditionRequest : global::Microsoft.Graph.Beta.Models.RestoreArtifactsBulkRequestBase, IParsable #pragma warning restore CS1591 { - /// The directoryObjectIds property + /// The list of directory object IDs that are added to the corresponding Exchange restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DirectoryObjectIds @@ -28,7 +28,7 @@ public List DirectoryObjectIds set { BackingStore?.Set("directoryObjectIds", value); } } #endif - /// The mailboxes property + /// The list of email addresses that are added to the corresponding Exchange restore session in a bulk operation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Mailboxes diff --git a/src/Microsoft.Graph/Generated/Models/MeetingAttendanceReport.cs b/src/Microsoft.Graph/Generated/Models/MeetingAttendanceReport.cs index 49930617698..69efb059ed7 100644 --- a/src/Microsoft.Graph/Generated/Models/MeetingAttendanceReport.cs +++ b/src/Microsoft.Graph/Generated/Models/MeetingAttendanceReport.cs @@ -27,6 +27,22 @@ public partial class MeetingAttendanceReport : global::Microsoft.Graph.Beta.Mode get { return BackingStore?.Get>("attendanceRecords"); } set { BackingStore?.Set("attendanceRecords", value); } } +#endif + /// The externalEventInformation property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExternalEventInformation + { + get { return BackingStore?.Get?>("externalEventInformation"); } + set { BackingStore?.Set("externalEventInformation", value); } + } +#nullable restore +#else + public List ExternalEventInformation + { + get { return BackingStore?.Get>("externalEventInformation"); } + set { BackingStore?.Set("externalEventInformation", value); } + } #endif /// UTC time when the meeting ended. Read-only. public DateTimeOffset? MeetingEndDateTime @@ -65,6 +81,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "attendanceRecords", n => { AttendanceRecords = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AttendanceRecord.CreateFromDiscriminatorValue)?.AsList(); } }, + { "externalEventInformation", n => { ExternalEventInformation = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.VirtualEventExternalInformation.CreateFromDiscriminatorValue)?.AsList(); } }, { "meetingEndDateTime", n => { MeetingEndDateTime = n.GetDateTimeOffsetValue(); } }, { "meetingStartDateTime", n => { MeetingStartDateTime = n.GetDateTimeOffsetValue(); } }, { "totalParticipantCount", n => { TotalParticipantCount = n.GetIntValue(); } }, @@ -79,6 +96,7 @@ public override void Serialize(ISerializationWriter writer) _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfObjectValues("attendanceRecords", AttendanceRecords); + writer.WriteCollectionOfObjectValues("externalEventInformation", ExternalEventInformation); writer.WriteDateTimeOffsetValue("meetingEndDateTime", MeetingEndDateTime); writer.WriteDateTimeOffsetValue("meetingStartDateTime", MeetingStartDateTime); writer.WriteIntValue("totalParticipantCount", TotalParticipantCount); diff --git a/src/Microsoft.Graph/Generated/Models/MobileApp.cs b/src/Microsoft.Graph/Generated/Models/MobileApp.cs index 28243862130..21b020d81d8 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileApp.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileApp.cs @@ -45,13 +45,13 @@ public partial class MobileApp : global::Microsoft.Graph.Beta.Models.Entity, IPa set { BackingStore?.Set("categories", value); } } #endif - /// The date and time the app was created. + /// The date and time the app was created. This property is read-only. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The total number of dependencies the child app has. + /// The total number of dependencies the child app has. This property is read-only. public int? DependentAppCount { get { return BackingStore?.Get("dependentAppCount"); } @@ -121,7 +121,7 @@ public string InformationUrl set { BackingStore?.Set("informationUrl", value); } } #endif - /// The value indicating whether the app is assigned to at least one group. + /// The value indicating whether the app is assigned to at least one group. This property is read-only. public bool? IsAssigned { get { return BackingStore?.Get("isAssigned"); } @@ -149,7 +149,7 @@ public bool? IsFeatured set { BackingStore?.Set("largeIcon", value); } } #endif - /// The date and time the app was last modified. + /// The date and time the app was last modified. This property is read-only. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } @@ -225,7 +225,7 @@ public string Publisher get { return BackingStore?.Get("publishingState"); } set { BackingStore?.Set("publishingState", value); } } - /// List of relationships for this mobile app. + /// The set of direct relationships for this app. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Relationships @@ -269,7 +269,7 @@ public int? SupersedingAppCount get { return BackingStore?.Get("supersedingAppCount"); } set { BackingStore?.Set("supersedingAppCount", value); } } - /// The upload state. + /// The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. public int? UploadState { get { return BackingStore?.Get("uploadState"); } diff --git a/src/Microsoft.Graph/Generated/Models/MutualTlsOauthConfiguration.cs b/src/Microsoft.Graph/Generated/Models/MutualTlsOauthConfiguration.cs new file mode 100644 index 00000000000..f28117068af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MutualTlsOauthConfiguration.cs @@ -0,0 +1,79 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MutualTlsOauthConfiguration : global::Microsoft.Graph.Beta.Models.TrustedCertificateAuthorityBase, IParsable + #pragma warning restore CS1591 + { + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The tlsClientAuthParameter property + public global::Microsoft.Graph.Beta.Models.TlsClientRegistrationMetadata? TlsClientAuthParameter + { + get { return BackingStore?.Get("tlsClientAuthParameter"); } + set { BackingStore?.Set("tlsClientAuthParameter", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public MutualTlsOauthConfiguration() : base() + { + OdataType = "#microsoft.graph.mutualTlsOauthConfiguration"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "tlsClientAuthParameter", n => { TlsClientAuthParameter = 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("displayName", DisplayName); + writer.WriteEnumValue("tlsClientAuthParameter", TlsClientAuthParameter); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MutualTlsOauthConfigurationCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/MutualTlsOauthConfigurationCollectionResponse.cs new file mode 100644 index 00000000000..41ce5997c46 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MutualTlsOauthConfigurationCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class MutualTlsOauthConfigurationCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfigurationCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfigurationCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration.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/Networkaccess/AlertType.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/AlertType.cs index 1bdde00dbbc..9e19671c965 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/AlertType.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/AlertType.cs @@ -44,5 +44,13 @@ public enum AlertType #pragma warning disable CS1591 Malware, #pragma warning restore CS1591 + [EnumMember(Value = "patientZero")] + #pragma warning disable CS1591 + PatientZero, + #pragma warning restore CS1591 + [EnumMember(Value = "dlp")] + #pragma warning disable CS1591 + Dlp, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/RelatedResource.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/RelatedResource.cs index 1fa79d156c3..0f774818237 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/RelatedResource.cs +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/RelatedResource.cs @@ -61,7 +61,6 @@ public RelatedResource() "#microsoft.graph.networkaccess.relatedFile" => new global::Microsoft.Graph.Beta.Models.Networkaccess.RelatedFile(), "#microsoft.graph.networkaccess.relatedFileHash" => new global::Microsoft.Graph.Beta.Models.Networkaccess.RelatedFileHash(), "#microsoft.graph.networkaccess.relatedMalware" => new global::Microsoft.Graph.Beta.Models.Networkaccess.RelatedMalware(), - "#microsoft.graph.networkaccess.relatedProcess" => new global::Microsoft.Graph.Beta.Models.Networkaccess.RelatedProcess(), "#microsoft.graph.networkaccess.relatedRemoteNetwork" => new global::Microsoft.Graph.Beta.Models.Networkaccess.RelatedRemoteNetwork(), "#microsoft.graph.networkaccess.relatedTenant" => new global::Microsoft.Graph.Beta.Models.Networkaccess.RelatedTenant(), "#microsoft.graph.networkaccess.relatedThreatIntelligence" => new global::Microsoft.Graph.Beta.Models.Networkaccess.RelatedThreatIntelligence(), diff --git a/src/Microsoft.Graph/Generated/Models/OidcAddressInboundClaims.cs b/src/Microsoft.Graph/Generated/Models/OidcAddressInboundClaims.cs new file mode 100644 index 00000000000..43d52e60226 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OidcAddressInboundClaims.cs @@ -0,0 +1,171 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OidcAddressInboundClaims : 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; } + /// Country name. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Country + { + get { return BackingStore?.Get("country"); } + set { BackingStore?.Set("country", value); } + } +#nullable restore +#else + public string Country + { + get { return BackingStore?.Get("country"); } + set { BackingStore?.Set("country", value); } + } +#endif + /// City or locality. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Locality + { + get { return BackingStore?.Get("locality"); } + set { BackingStore?.Set("locality", value); } + } +#nullable restore +#else + public string Locality + { + get { return BackingStore?.Get("locality"); } + set { BackingStore?.Set("locality", 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 + /// Zip code or postal code. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PostalCode + { + get { return BackingStore?.Get("postal_code"); } + set { BackingStore?.Set("postal_code", value); } + } +#nullable restore +#else + public string PostalCode + { + get { return BackingStore?.Get("postal_code"); } + set { BackingStore?.Set("postal_code", value); } + } +#endif + /// Country name. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Region + { + get { return BackingStore?.Get("region"); } + set { BackingStore?.Set("region", value); } + } +#nullable restore +#else + public string Region + { + get { return BackingStore?.Get("region"); } + set { BackingStore?.Set("region", value); } + } +#endif + /// Full mailing address, formatted for display or use on a mailing label. This field MAY contain multiple lines, separated by newlines. Newlines can be represented either as a carriage return/line feed pair ('/r/n') or as a single line feed character ('/n'). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? StreetAddress + { + get { return BackingStore?.Get("street_address"); } + set { BackingStore?.Set("street_address", value); } + } +#nullable restore +#else + public string StreetAddress + { + get { return BackingStore?.Get("street_address"); } + set { BackingStore?.Set("street_address", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OidcAddressInboundClaims() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.OidcAddressInboundClaims CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OidcAddressInboundClaims(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "country", n => { Country = n.GetStringValue(); } }, + { "locality", n => { Locality = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "postal_code", n => { PostalCode = n.GetStringValue(); } }, + { "region", n => { Region = n.GetStringValue(); } }, + { "street_address", n => { StreetAddress = 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("country", Country); + writer.WriteStringValue("locality", Locality); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("postal_code", PostalCode); + writer.WriteStringValue("region", Region); + writer.WriteStringValue("street_address", StreetAddress); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OidcClientAuthentication.cs b/src/Microsoft.Graph/Generated/Models/OidcClientAuthentication.cs new file mode 100644 index 00000000000..4357f5d1096 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OidcClientAuthentication.cs @@ -0,0 +1,87 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OidcClientAuthentication : 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 OidcClientAuthentication() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.OidcClientAuthentication CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.oidcClientSecretAuthentication" => new global::Microsoft.Graph.Beta.Models.OidcClientSecretAuthentication(), + "#microsoft.graph.oidcPrivateJwtKeyClientAuthentication" => new global::Microsoft.Graph.Beta.Models.OidcPrivateJwtKeyClientAuthentication(), + _ => new global::Microsoft.Graph.Beta.Models.OidcClientAuthentication(), + }; + } + /// + /// 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/Networkaccess/RelatedProcess.cs b/src/Microsoft.Graph/Generated/Models/OidcClientSecretAuthentication.cs similarity index 55% rename from src/Microsoft.Graph/Generated/Models/Networkaccess/RelatedProcess.cs rename to src/Microsoft.Graph/Generated/Models/OidcClientSecretAuthentication.cs index 090bb99a807..8bc5e88388b 100644 --- a/src/Microsoft.Graph/Generated/Models/Networkaccess/RelatedProcess.cs +++ b/src/Microsoft.Graph/Generated/Models/OidcClientSecretAuthentication.cs @@ -5,51 +5,45 @@ using System.Collections.Generic; using System.IO; using System; -namespace Microsoft.Graph.Beta.Models.Networkaccess +namespace Microsoft.Graph.Beta.Models { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class RelatedProcess : global::Microsoft.Graph.Beta.Models.Networkaccess.RelatedResource, IParsable + public partial class OidcClientSecretAuthentication : global::Microsoft.Graph.Beta.Models.OidcClientAuthentication, IParsable #pragma warning restore CS1591 { - /// The isSuspicious property - public bool? IsSuspicious - { - get { return BackingStore?.Get("isSuspicious"); } - set { BackingStore?.Set("isSuspicious", value); } - } - /// The processName property + /// The client secret obtained from configuring the client application on the external OpenID Connect identity provider. The property includes the client secret and enables the identity provider to use either the clientsecretpost authentication method. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public string? ProcessName + public string? ClientSecret { - get { return BackingStore?.Get("processName"); } - set { BackingStore?.Set("processName", value); } + get { return BackingStore?.Get("clientSecret"); } + set { BackingStore?.Set("clientSecret", value); } } #nullable restore #else - public string ProcessName + public string ClientSecret { - get { return BackingStore?.Get("processName"); } - set { BackingStore?.Set("processName", value); } + get { return BackingStore?.Get("clientSecret"); } + set { BackingStore?.Set("clientSecret", value); } } #endif /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// - public RelatedProcess() : base() + public OidcClientSecretAuthentication() : base() { - OdataType = "#microsoft.graph.networkaccess.relatedProcess"; + OdataType = "#microsoft.graph.oidcClientSecretAuthentication"; } /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.Models.Networkaccess.RelatedProcess CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.Models.OidcClientSecretAuthentication CreateFromDiscriminatorValue(IParseNode parseNode) { _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.Networkaccess.RelatedProcess(); + return new global::Microsoft.Graph.Beta.Models.OidcClientSecretAuthentication(); } /// /// The deserialization information for the current model @@ -59,8 +53,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { - { "isSuspicious", n => { IsSuspicious = n.GetBoolValue(); } }, - { "processName", n => { ProcessName = n.GetStringValue(); } }, + { "clientSecret", n => { ClientSecret = n.GetStringValue(); } }, }; } /// @@ -71,8 +64,7 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); - writer.WriteBoolValue("isSuspicious", IsSuspicious); - writer.WriteStringValue("processName", ProcessName); + writer.WriteStringValue("clientSecret", ClientSecret); } } } diff --git a/src/Microsoft.Graph/Generated/Models/OidcIdentityProvider.cs b/src/Microsoft.Graph/Generated/Models/OidcIdentityProvider.cs new file mode 100644 index 00000000000..f0c7be7cb3e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OidcIdentityProvider.cs @@ -0,0 +1,169 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OidcIdentityProvider : global::Microsoft.Graph.Beta.Models.IdentityProviderBase, IParsable + #pragma warning restore CS1591 + { + /// The clientAuthentication property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.OidcClientAuthentication? ClientAuthentication + { + get { return BackingStore?.Get("clientAuthentication"); } + set { BackingStore?.Set("clientAuthentication", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.OidcClientAuthentication ClientAuthentication + { + get { return BackingStore?.Get("clientAuthentication"); } + set { BackingStore?.Set("clientAuthentication", value); } + } +#endif + /// The client ID for the application obtained when registering the application with the identity provider. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ClientId + { + get { return BackingStore?.Get("clientId"); } + set { BackingStore?.Set("clientId", value); } + } +#nullable restore +#else + public string ClientId + { + get { return BackingStore?.Get("clientId"); } + set { BackingStore?.Set("clientId", value); } + } +#endif + /// After the OIDC provider sends an ID token back to Microsoft Entra External ID, Microsoft Entra External ID needs to be able to map the claims from the received token to the claims that Microsoft Entra ID recognizes and uses. This complex type captures that mapping. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.OidcInboundClaimMappingOverride? InboundClaimMapping + { + get { return BackingStore?.Get("inboundClaimMapping"); } + set { BackingStore?.Set("inboundClaimMapping", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.OidcInboundClaimMappingOverride InboundClaimMapping + { + get { return BackingStore?.Get("inboundClaimMapping"); } + set { BackingStore?.Set("inboundClaimMapping", value); } + } +#endif + /// The issuer URI. Issuer URI is a case-sensitive URL using https scheme contains scheme, host, and optionally, port number and path components and no query or fragment components. Note: Configuring other Microsoft Entra tenants as an external identity provider is currently not supported. As a result, the microsoftonline.com domain in the issuer URI is not accepted. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Issuer + { + get { return BackingStore?.Get("issuer"); } + set { BackingStore?.Set("issuer", value); } + } +#nullable restore +#else + public string Issuer + { + get { return BackingStore?.Get("issuer"); } + set { BackingStore?.Set("issuer", value); } + } +#endif + /// The responseType property + public global::Microsoft.Graph.Beta.Models.OidcResponseType? ResponseType + { + get { return BackingStore?.Get("responseType"); } + set { BackingStore?.Set("responseType", value); } + } + /// Scope defines the information and permissions you are looking to gather from your custom identity provider. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Scope + { + get { return BackingStore?.Get("scope"); } + set { BackingStore?.Set("scope", value); } + } +#nullable restore +#else + public string Scope + { + get { return BackingStore?.Get("scope"); } + set { BackingStore?.Set("scope", value); } + } +#endif + /// The URL for the metadata document of the OpenID Connect identity provider. Every OpenID Connect identity provider describes a metadata document that contains most of the information required to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys. The OpenID Connect metadata document is always located at an endpoint that ends in .well-known/openid-configuration. Note: The metadata document should, at minimum, contain the following properties: issuer, authorizationendpoint, tokenendpoint, tokenendpointauthmethodssupported, responsetypessupported, subjecttypessupported and jwks_uri. Visit OpenID Connect Discovery specifications for more details. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? WellKnownEndpoint + { + get { return BackingStore?.Get("wellKnownEndpoint"); } + set { BackingStore?.Set("wellKnownEndpoint", value); } + } +#nullable restore +#else + public string WellKnownEndpoint + { + get { return BackingStore?.Get("wellKnownEndpoint"); } + set { BackingStore?.Set("wellKnownEndpoint", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OidcIdentityProvider() : base() + { + OdataType = "#microsoft.graph.oidcIdentityProvider"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.OidcIdentityProvider CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OidcIdentityProvider(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "clientAuthentication", n => { ClientAuthentication = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OidcClientAuthentication.CreateFromDiscriminatorValue); } }, + { "clientId", n => { ClientId = n.GetStringValue(); } }, + { "inboundClaimMapping", n => { InboundClaimMapping = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OidcInboundClaimMappingOverride.CreateFromDiscriminatorValue); } }, + { "issuer", n => { Issuer = n.GetStringValue(); } }, + { "responseType", n => { ResponseType = n.GetEnumValue(); } }, + { "scope", n => { Scope = n.GetStringValue(); } }, + { "wellKnownEndpoint", n => { WellKnownEndpoint = 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("clientAuthentication", ClientAuthentication); + writer.WriteStringValue("clientId", ClientId); + writer.WriteObjectValue("inboundClaimMapping", InboundClaimMapping); + writer.WriteStringValue("issuer", Issuer); + writer.WriteEnumValue("responseType", ResponseType); + writer.WriteStringValue("scope", Scope); + writer.WriteStringValue("wellKnownEndpoint", WellKnownEndpoint); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OidcInboundClaimMappingOverride.cs b/src/Microsoft.Graph/Generated/Models/OidcInboundClaimMappingOverride.cs new file mode 100644 index 00000000000..32eb8daf395 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OidcInboundClaimMappingOverride.cs @@ -0,0 +1,243 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OidcInboundClaimMappingOverride : 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); } + } + /// End-user's preferred postal address. The value of the address member is a JSON RFC8259 structure containing some or all of the members defined in the resource type +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.OidcAddressInboundClaims? Address + { + get { return BackingStore?.Get("address"); } + set { BackingStore?.Set("address", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.OidcAddressInboundClaims Address + { + get { return BackingStore?.Get("address"); } + set { BackingStore?.Set("address", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// End-user's preferred e-mail address. Its value MUST conform to the RFC 5322 addr-spec syntax. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Email + { + get { return BackingStore?.Get("email"); } + set { BackingStore?.Set("email", value); } + } +#nullable restore +#else + public string Email + { + get { return BackingStore?.Get("email"); } + set { BackingStore?.Set("email", value); } + } +#endif + /// True if the end-user's e-mail address has been verified by the identity provider; otherwise, false. When this claim value is true, this means that your identity provider took affirmative steps to ensure that this e-mail address was controlled by the end-user at the time the verification was performed. If this claim value is false, or not mapped with any claim of the identity provider, the user is asked to verify email during sign-up if email is required in the user flow. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EmailVerified + { + get { return BackingStore?.Get("email_verified"); } + set { BackingStore?.Set("email_verified", value); } + } +#nullable restore +#else + public string EmailVerified + { + get { return BackingStore?.Get("email_verified"); } + set { BackingStore?.Set("email_verified", value); } + } +#endif + /// Surname(s) or family name of the end-user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FamilyName + { + get { return BackingStore?.Get("family_name"); } + set { BackingStore?.Set("family_name", value); } + } +#nullable restore +#else + public string FamilyName + { + get { return BackingStore?.Get("family_name"); } + set { BackingStore?.Set("family_name", value); } + } +#endif + /// Given name(s) or first name(s) of the end-user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? GivenName + { + get { return BackingStore?.Get("given_name"); } + set { BackingStore?.Set("given_name", value); } + } +#nullable restore +#else + public string GivenName + { + get { return BackingStore?.Get("given_name"); } + set { BackingStore?.Set("given_name", value); } + } +#endif + /// End-user's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the end-user's locale and preferences. +#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 claim provides the phone number for the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PhoneNumber + { + get { return BackingStore?.Get("phone_number"); } + set { BackingStore?.Set("phone_number", value); } + } +#nullable restore +#else + public string PhoneNumber + { + get { return BackingStore?.Get("phone_number"); } + set { BackingStore?.Set("phone_number", value); } + } +#endif + /// True if the end-user's phone number has been verified; otherwise, false. When this claim value is true, this means that your identity provider took affirmative steps to verify the phone number. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PhoneNumberVerified + { + get { return BackingStore?.Get("phone_number_verified"); } + set { BackingStore?.Set("phone_number_verified", value); } + } +#nullable restore +#else + public string PhoneNumberVerified + { + get { return BackingStore?.Get("phone_number_verified"); } + set { BackingStore?.Set("phone_number_verified", value); } + } +#endif + /// Subject - Identifier for the end-user at the Issuer. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Sub + { + get { return BackingStore?.Get("sub"); } + set { BackingStore?.Set("sub", value); } + } +#nullable restore +#else + public string Sub + { + get { return BackingStore?.Get("sub"); } + set { BackingStore?.Set("sub", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OidcInboundClaimMappingOverride() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.OidcInboundClaimMappingOverride CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OidcInboundClaimMappingOverride(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "address", n => { Address = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OidcAddressInboundClaims.CreateFromDiscriminatorValue); } }, + { "email", n => { Email = n.GetStringValue(); } }, + { "email_verified", n => { EmailVerified = n.GetStringValue(); } }, + { "family_name", n => { FamilyName = n.GetStringValue(); } }, + { "given_name", n => { GivenName = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "phone_number", n => { PhoneNumber = n.GetStringValue(); } }, + { "phone_number_verified", n => { PhoneNumberVerified = n.GetStringValue(); } }, + { "sub", n => { Sub = 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("address", Address); + writer.WriteStringValue("email", Email); + writer.WriteStringValue("email_verified", EmailVerified); + writer.WriteStringValue("family_name", FamilyName); + writer.WriteStringValue("given_name", GivenName); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("phone_number", PhoneNumber); + writer.WriteStringValue("phone_number_verified", PhoneNumberVerified); + writer.WriteStringValue("sub", Sub); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OidcPrivateJwtKeyClientAuthentication.cs b/src/Microsoft.Graph/Generated/Models/OidcPrivateJwtKeyClientAuthentication.cs new file mode 100644 index 00000000000..de82b942835 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OidcPrivateJwtKeyClientAuthentication.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class OidcPrivateJwtKeyClientAuthentication : global::Microsoft.Graph.Beta.Models.OidcClientAuthentication, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public OidcPrivateJwtKeyClientAuthentication() : base() + { + OdataType = "#microsoft.graph.oidcPrivateJwtKeyClientAuthentication"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.OidcPrivateJwtKeyClientAuthentication CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.OidcPrivateJwtKeyClientAuthentication(); + } + /// + /// 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/OidcResponseType.cs b/src/Microsoft.Graph/Generated/Models/OidcResponseType.cs new file mode 100644 index 00000000000..f8ad750f75b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OidcResponseType.cs @@ -0,0 +1,29 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum OidcResponseType + #pragma warning restore CS1591 + { + [EnumMember(Value = "code")] + #pragma warning disable CS1591 + Code = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "id_token")] + #pragma warning disable CS1591 + Id_token = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "token")] + #pragma warning disable CS1591 + Token = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 8, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/OnPremisesPublishing.cs b/src/Microsoft.Graph/Generated/Models/OnPremisesPublishing.cs index 0cd317208e0..430745c6226 100644 --- a/src/Microsoft.Graph/Generated/Models/OnPremisesPublishing.cs +++ b/src/Microsoft.Graph/Generated/Models/OnPremisesPublishing.cs @@ -284,6 +284,54 @@ public bool? UseAlternateUrlForTranslationAndRedirect get { return BackingStore?.Get("verifiedCustomDomainPasswordCredential"); } set { BackingStore?.Set("verifiedCustomDomainPasswordCredential", value); } } +#endif + /// The wafAllowedHeaders property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.WafAllowedHeadersDictionary? WafAllowedHeaders + { + get { return BackingStore?.Get("wafAllowedHeaders"); } + set { BackingStore?.Set("wafAllowedHeaders", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.WafAllowedHeadersDictionary WafAllowedHeaders + { + get { return BackingStore?.Get("wafAllowedHeaders"); } + set { BackingStore?.Set("wafAllowedHeaders", value); } + } +#endif + /// The wafIpRanges property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? WafIpRanges + { + get { return BackingStore?.Get?>("wafIpRanges"); } + set { BackingStore?.Set("wafIpRanges", value); } + } +#nullable restore +#else + public List WafIpRanges + { + get { return BackingStore?.Get>("wafIpRanges"); } + set { BackingStore?.Set("wafIpRanges", value); } + } +#endif + /// The wafProvider property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? WafProvider + { + get { return BackingStore?.Get("wafProvider"); } + set { BackingStore?.Set("wafProvider", value); } + } +#nullable restore +#else + public string WafProvider + { + get { return BackingStore?.Get("wafProvider"); } + set { BackingStore?.Set("wafProvider", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -335,6 +383,9 @@ public virtual IDictionary> GetFieldDeserializers() { "verifiedCustomDomainCertificatesMetadata", n => { VerifiedCustomDomainCertificatesMetadata = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.VerifiedCustomDomainCertificatesMetadata.CreateFromDiscriminatorValue); } }, { "verifiedCustomDomainKeyCredential", n => { VerifiedCustomDomainKeyCredential = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.KeyCredential.CreateFromDiscriminatorValue); } }, { "verifiedCustomDomainPasswordCredential", n => { VerifiedCustomDomainPasswordCredential = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PasswordCredential.CreateFromDiscriminatorValue); } }, + { "wafAllowedHeaders", n => { WafAllowedHeaders = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WafAllowedHeadersDictionary.CreateFromDiscriminatorValue); } }, + { "wafIpRanges", n => { WafIpRanges = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IpRange.CreateFromDiscriminatorValue)?.AsList(); } }, + { "wafProvider", n => { WafProvider = n.GetStringValue(); } }, }; } /// @@ -368,6 +419,9 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteObjectValue("verifiedCustomDomainCertificatesMetadata", VerifiedCustomDomainCertificatesMetadata); writer.WriteObjectValue("verifiedCustomDomainKeyCredential", VerifiedCustomDomainKeyCredential); writer.WriteObjectValue("verifiedCustomDomainPasswordCredential", VerifiedCustomDomainPasswordCredential); + writer.WriteObjectValue("wafAllowedHeaders", WafAllowedHeaders); + writer.WriteCollectionOfObjectValues("wafIpRanges", WafIpRanges); + writer.WriteStringValue("wafProvider", WafProvider); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs index 7b418f3a3b8..331a2e367f2 100644 --- a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs +++ b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class OneDriveForBusinessRestoreSession : global::Microsoft.Graph.Beta.Models.RestoreSessionBase, IParsable #pragma warning restore CS1591 { - /// A collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. + /// A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DriveRestoreArtifacts @@ -28,7 +28,7 @@ public partial class OneDriveForBusinessRestoreSession : global::Microsoft.Graph set { BackingStore?.Set("driveRestoreArtifacts", value); } } #endif - /// The driveRestoreArtifactsBulkAdditionRequests property + /// A collection of user mailboxes and destination details that can be used to restore a OneDrive for work or school drive. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DriveRestoreArtifactsBulkAdditionRequests diff --git a/src/Microsoft.Graph/Generated/Models/RestoreArtifactsBulkRequestBase.cs b/src/Microsoft.Graph/Generated/Models/RestoreArtifactsBulkRequestBase.cs index ff410198bb6..c211146df1b 100644 --- a/src/Microsoft.Graph/Generated/Models/RestoreArtifactsBulkRequestBase.cs +++ b/src/Microsoft.Graph/Generated/Models/RestoreArtifactsBulkRequestBase.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class RestoreArtifactsBulkRequestBase : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The createdBy property + /// The identity of the person who created the bulk request. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy @@ -28,19 +28,19 @@ public partial class RestoreArtifactsBulkRequestBase : global::Microsoft.Graph.B set { BackingStore?.Set("createdBy", value); } } #endif - /// The createdDateTime property + /// The time when the bulk request was created. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The destinationType property + /// Indicates the restoration destination. The possible values are: new, inPlace, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.DestinationType? DestinationType { get { return BackingStore?.Get("destinationType"); } set { BackingStore?.Set("destinationType", value); } } - /// The displayName property + /// Name of the addition request. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -56,7 +56,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The error property + /// Error details are populated for resource resolution failures. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PublicError? Error @@ -72,7 +72,7 @@ public string DisplayName set { BackingStore?.Set("error", value); } } #endif - /// The lastModifiedBy property + /// Identity of the person who last modified this entity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy @@ -88,13 +88,13 @@ public string DisplayName set { BackingStore?.Set("lastModifiedBy", value); } } #endif - /// The lastModifiedDateTime property + /// Timestamp when this entity was last modified. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } set { BackingStore?.Set("lastModifiedDateTime", value); } } - /// The protectionTimePeriod property + /// The start and end date and time of the protection period. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.TimePeriod? ProtectionTimePeriod @@ -110,7 +110,7 @@ public DateTimeOffset? LastModifiedDateTime set { BackingStore?.Set("protectionTimePeriod", value); } } #endif - /// The protectionUnitIds property + /// Indicates which protection units to restore. This property isn't implemented yet. Future value; don't use. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ProtectionUnitIds @@ -126,19 +126,19 @@ public List ProtectionUnitIds set { BackingStore?.Set("protectionUnitIds", value); } } #endif - /// The restorePointPreference property + /// Indicates which restore point to return. The possible values are: oldest, latest, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.RestorePointPreference? RestorePointPreference { get { return BackingStore?.Get("restorePointPreference"); } set { BackingStore?.Set("restorePointPreference", value); } } - /// The status property + /// Determines the status of the long-running operation. The possible values area: unknown, active, completed, completedWithErrors, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.RestoreArtifactsBulkRequestStatus? Status { get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// The tags property + /// The type of the restore point. The possible values are: none, fastRestore, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.RestorePointTags? Tags { get { return BackingStore?.Get("tags"); } diff --git a/src/Microsoft.Graph/Generated/Models/Roadmap.cs b/src/Microsoft.Graph/Generated/Models/Roadmap.cs new file mode 100644 index 00000000000..e9c46f89850 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Roadmap.cs @@ -0,0 +1,113 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Roadmap : global::Microsoft.Graph.Beta.Models.ChangeItemBase, IParsable + #pragma warning restore CS1591 + { + /// Indicates the category with which this item is associated. Supports $filter (eq, ne, in) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Category + { + get { return BackingStore?.Get("category"); } + set { BackingStore?.Set("category", value); } + } +#nullable restore +#else + public string Category + { + get { return BackingStore?.Get("category"); } + set { BackingStore?.Set("category", value); } + } +#endif + /// The changeItemState property + public global::Microsoft.Graph.Beta.Models.ChangeItemState? ChangeItemState + { + get { return BackingStore?.Get("changeItemState"); } + set { BackingStore?.Set("changeItemState", value); } + } + /// The deliveryStage property + public global::Microsoft.Graph.Beta.Models.RoadmapItemDeliveryStage? DeliveryStage + { + get { return BackingStore?.Get("deliveryStage"); } + set { BackingStore?.Set("deliveryStage", value); } + } + /// Link to the feature page in the Microsoft Entra admin center. Supports $filter (eq, ne, in) and $orderby. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? GotoLink + { + get { return BackingStore?.Get("gotoLink"); } + set { BackingStore?.Set("gotoLink", value); } + } +#nullable restore +#else + public string GotoLink + { + get { return BackingStore?.Get("gotoLink"); } + set { BackingStore?.Set("gotoLink", value); } + } +#endif + /// Feature planned release date. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. + public DateTimeOffset? PublishedDateTime + { + get { return BackingStore?.Get("publishedDateTime"); } + set { BackingStore?.Set("publishedDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public Roadmap() : base() + { + OdataType = "#microsoft.graph.roadmap"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Roadmap CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Roadmap(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "category", n => { Category = n.GetStringValue(); } }, + { "changeItemState", n => { ChangeItemState = n.GetEnumValue(); } }, + { "deliveryStage", n => { DeliveryStage = n.GetEnumValue(); } }, + { "gotoLink", n => { GotoLink = n.GetStringValue(); } }, + { "publishedDateTime", n => { PublishedDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// 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("category", Category); + writer.WriteEnumValue("changeItemState", ChangeItemState); + writer.WriteEnumValue("deliveryStage", DeliveryStage); + writer.WriteStringValue("gotoLink", GotoLink); + writer.WriteDateTimeOffsetValue("publishedDateTime", PublishedDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RoadmapItemDeliveryStage.cs b/src/Microsoft.Graph/Generated/Models/RoadmapItemDeliveryStage.cs new file mode 100644 index 00000000000..64dd755323e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RoadmapItemDeliveryStage.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum RoadmapItemDeliveryStage + #pragma warning restore CS1591 + { + [EnumMember(Value = "privatePreview")] + #pragma warning disable CS1591 + PrivatePreview, + #pragma warning restore CS1591 + [EnumMember(Value = "publicPreview")] + #pragma warning disable CS1591 + PublicPreview, + #pragma warning restore CS1591 + [EnumMember(Value = "ga")] + #pragma warning disable CS1591 + Ga, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/AppCategory.cs b/src/Microsoft.Graph/Generated/Models/Security/AppCategory.cs new file mode 100644 index 00000000000..b9afbfd3072 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AppCategory.cs @@ -0,0 +1,188 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppCategory + #pragma warning restore CS1591 + { + [EnumMember(Value = "security")] + #pragma warning disable CS1591 + Security, + #pragma warning restore CS1591 + [EnumMember(Value = "collaboration")] + #pragma warning disable CS1591 + Collaboration, + #pragma warning restore CS1591 + [EnumMember(Value = "hostingServices")] + #pragma warning disable CS1591 + HostingServices, + #pragma warning restore CS1591 + [EnumMember(Value = "onlineMeetings")] + #pragma warning disable CS1591 + OnlineMeetings, + #pragma warning restore CS1591 + [EnumMember(Value = "newsAndEntertainment")] + #pragma warning disable CS1591 + NewsAndEntertainment, + #pragma warning restore CS1591 + [EnumMember(Value = "eCommerce")] + #pragma warning disable CS1591 + ECommerce, + #pragma warning restore CS1591 + [EnumMember(Value = "education")] + #pragma warning disable CS1591 + Education, + #pragma warning restore CS1591 + [EnumMember(Value = "cloudStorage")] + #pragma warning disable CS1591 + CloudStorage, + #pragma warning restore CS1591 + [EnumMember(Value = "marketing")] + #pragma warning disable CS1591 + Marketing, + #pragma warning restore CS1591 + [EnumMember(Value = "operationsManagement")] + #pragma warning disable CS1591 + OperationsManagement, + #pragma warning restore CS1591 + [EnumMember(Value = "health")] + #pragma warning disable CS1591 + Health, + #pragma warning restore CS1591 + [EnumMember(Value = "advertising")] + #pragma warning disable CS1591 + Advertising, + #pragma warning restore CS1591 + [EnumMember(Value = "productivity")] + #pragma warning disable CS1591 + Productivity, + #pragma warning restore CS1591 + [EnumMember(Value = "accountingAndFinance")] + #pragma warning disable CS1591 + AccountingAndFinance, + #pragma warning restore CS1591 + [EnumMember(Value = "contentManagement")] + #pragma warning disable CS1591 + ContentManagement, + #pragma warning restore CS1591 + [EnumMember(Value = "contentSharing")] + #pragma warning disable CS1591 + ContentSharing, + #pragma warning restore CS1591 + [EnumMember(Value = "businessManagement")] + #pragma warning disable CS1591 + BusinessManagement, + #pragma warning restore CS1591 + [EnumMember(Value = "communications")] + #pragma warning disable CS1591 + Communications, + #pragma warning restore CS1591 + [EnumMember(Value = "dataAnalytics")] + #pragma warning disable CS1591 + DataAnalytics, + #pragma warning restore CS1591 + [EnumMember(Value = "businessIntelligence")] + #pragma warning disable CS1591 + BusinessIntelligence, + #pragma warning restore CS1591 + [EnumMember(Value = "webemail")] + #pragma warning disable CS1591 + Webemail, + #pragma warning restore CS1591 + [EnumMember(Value = "codeHosting")] + #pragma warning disable CS1591 + CodeHosting, + #pragma warning restore CS1591 + [EnumMember(Value = "webAnalytics")] + #pragma warning disable CS1591 + WebAnalytics, + #pragma warning restore CS1591 + [EnumMember(Value = "socialNetwork")] + #pragma warning disable CS1591 + SocialNetwork, + #pragma warning restore CS1591 + [EnumMember(Value = "crm")] + #pragma warning disable CS1591 + Crm, + #pragma warning restore CS1591 + [EnumMember(Value = "forums")] + #pragma warning disable CS1591 + Forums, + #pragma warning restore CS1591 + [EnumMember(Value = "humanResourceManagement")] + #pragma warning disable CS1591 + HumanResourceManagement, + #pragma warning restore CS1591 + [EnumMember(Value = "transportationAndTravel")] + #pragma warning disable CS1591 + TransportationAndTravel, + #pragma warning restore CS1591 + [EnumMember(Value = "productDesign")] + #pragma warning disable CS1591 + ProductDesign, + #pragma warning restore CS1591 + [EnumMember(Value = "sales")] + #pragma warning disable CS1591 + Sales, + #pragma warning restore CS1591 + [EnumMember(Value = "cloudComputingPlatform")] + #pragma warning disable CS1591 + CloudComputingPlatform, + #pragma warning restore CS1591 + [EnumMember(Value = "projectManagement")] + #pragma warning disable CS1591 + ProjectManagement, + #pragma warning restore CS1591 + [EnumMember(Value = "personalInstantMessaging")] + #pragma warning disable CS1591 + PersonalInstantMessaging, + #pragma warning restore CS1591 + [EnumMember(Value = "developmentTools")] + #pragma warning disable CS1591 + DevelopmentTools, + #pragma warning restore CS1591 + [EnumMember(Value = "itServices")] + #pragma warning disable CS1591 + ItServices, + #pragma warning restore CS1591 + [EnumMember(Value = "supplyChainAndLogistics")] + #pragma warning disable CS1591 + SupplyChainAndLogistics, + #pragma warning restore CS1591 + [EnumMember(Value = "propertyManagement")] + #pragma warning disable CS1591 + PropertyManagement, + #pragma warning restore CS1591 + [EnumMember(Value = "customerSupport")] + #pragma warning disable CS1591 + CustomerSupport, + #pragma warning restore CS1591 + [EnumMember(Value = "internetOfThings")] + #pragma warning disable CS1591 + InternetOfThings, + #pragma warning restore CS1591 + [EnumMember(Value = "vendorManagementSystems")] + #pragma warning disable CS1591 + VendorManagementSystems, + #pragma warning restore CS1591 + [EnumMember(Value = "websiteMonitoring")] + #pragma warning disable CS1591 + WebsiteMonitoring, + #pragma warning restore CS1591 + [EnumMember(Value = "generativeAi")] + #pragma warning disable CS1591 + GenerativeAi, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/AppInfoCsaStarLevel.cs b/src/Microsoft.Graph/Generated/Models/Security/AppInfoCsaStarLevel.cs new file mode 100644 index 00000000000..129e091e57a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AppInfoCsaStarLevel.cs @@ -0,0 +1,40 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppInfoCsaStarLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "selfAssessment")] + #pragma warning disable CS1591 + SelfAssessment, + #pragma warning restore CS1591 + [EnumMember(Value = "certification")] + #pragma warning disable CS1591 + Certification, + #pragma warning restore CS1591 + [EnumMember(Value = "attestation")] + #pragma warning disable CS1591 + Attestation, + #pragma warning restore CS1591 + [EnumMember(Value = "cStarAssessment")] + #pragma warning disable CS1591 + CStarAssessment, + #pragma warning restore CS1591 + [EnumMember(Value = "continuousMonitoring")] + #pragma warning disable CS1591 + ContinuousMonitoring, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/AppInfoDataAtRestEncryptionMethod.cs b/src/Microsoft.Graph/Generated/Models/Security/AppInfoDataAtRestEncryptionMethod.cs new file mode 100644 index 00000000000..108c9cef2e0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AppInfoDataAtRestEncryptionMethod.cs @@ -0,0 +1,52 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppInfoDataAtRestEncryptionMethod + #pragma warning restore CS1591 + { + [EnumMember(Value = "aes")] + #pragma warning disable CS1591 + Aes, + #pragma warning restore CS1591 + [EnumMember(Value = "bitLocker")] + #pragma warning disable CS1591 + BitLocker, + #pragma warning restore CS1591 + [EnumMember(Value = "blowfish")] + #pragma warning disable CS1591 + Blowfish, + #pragma warning restore CS1591 + [EnumMember(Value = "des3")] + #pragma warning disable CS1591 + Des3, + #pragma warning restore CS1591 + [EnumMember(Value = "des")] + #pragma warning disable CS1591 + Des, + #pragma warning restore CS1591 + [EnumMember(Value = "rc4")] + #pragma warning disable CS1591 + Rc4, + #pragma warning restore CS1591 + [EnumMember(Value = "rsA")] + #pragma warning disable CS1591 + RsA, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/AppInfoDataRetentionPolicy.cs b/src/Microsoft.Graph/Generated/Models/Security/AppInfoDataRetentionPolicy.cs new file mode 100644 index 00000000000..a89fa88b9a7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AppInfoDataRetentionPolicy.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppInfoDataRetentionPolicy + #pragma warning restore CS1591 + { + [EnumMember(Value = "dataRetained")] + #pragma warning disable CS1591 + DataRetained, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedImmediately")] + #pragma warning disable CS1591 + DeletedImmediately, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedWithinTwoWeeks")] + #pragma warning disable CS1591 + DeletedWithinTwoWeeks, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedWithinOneMonth")] + #pragma warning disable CS1591 + DeletedWithinOneMonth, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedWithinThreeMonths")] + #pragma warning disable CS1591 + DeletedWithinThreeMonths, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedWithinMoreThanThreeMonths")] + #pragma warning disable CS1591 + DeletedWithinMoreThanThreeMonths, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/AppInfoEncryptionProtocol.cs b/src/Microsoft.Graph/Generated/Models/Security/AppInfoEncryptionProtocol.cs new file mode 100644 index 00000000000..0e0fe7af681 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AppInfoEncryptionProtocol.cs @@ -0,0 +1,48 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppInfoEncryptionProtocol + #pragma warning restore CS1591 + { + [EnumMember(Value = "tls1_0")] + #pragma warning disable CS1591 + Tls1_0, + #pragma warning restore CS1591 + [EnumMember(Value = "tls1_1")] + #pragma warning disable CS1591 + Tls1_1, + #pragma warning restore CS1591 + [EnumMember(Value = "tls1_2")] + #pragma warning disable CS1591 + Tls1_2, + #pragma warning restore CS1591 + [EnumMember(Value = "tls1_3")] + #pragma warning disable CS1591 + Tls1_3, + #pragma warning restore CS1591 + [EnumMember(Value = "notApplicable")] + #pragma warning disable CS1591 + NotApplicable, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + [EnumMember(Value = "ssl3")] + #pragma warning disable CS1591 + Ssl3, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/AppInfoFedRampLevel.cs b/src/Microsoft.Graph/Generated/Models/Security/AppInfoFedRampLevel.cs new file mode 100644 index 00000000000..e9215e56ce7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AppInfoFedRampLevel.cs @@ -0,0 +1,40 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppInfoFedRampLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "high")] + #pragma warning disable CS1591 + High, + #pragma warning restore CS1591 + [EnumMember(Value = "moderate")] + #pragma warning disable CS1591 + Moderate, + #pragma warning restore CS1591 + [EnumMember(Value = "low")] + #pragma warning disable CS1591 + Low, + #pragma warning restore CS1591 + [EnumMember(Value = "liSaaS")] + #pragma warning disable CS1591 + LiSaaS, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/AppInfoHolding.cs b/src/Microsoft.Graph/Generated/Models/Security/AppInfoHolding.cs new file mode 100644 index 00000000000..1792269537f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AppInfoHolding.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppInfoHolding + #pragma warning restore CS1591 + { + [EnumMember(Value = "private")] + #pragma warning disable CS1591 + Private, + #pragma warning restore CS1591 + [EnumMember(Value = "public")] + #pragma warning disable CS1591 + Public, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/AppInfoPciDssVersion.cs b/src/Microsoft.Graph/Generated/Models/Security/AppInfoPciDssVersion.cs new file mode 100644 index 00000000000..73742ebbf3a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AppInfoPciDssVersion.cs @@ -0,0 +1,52 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppInfoPciDssVersion + #pragma warning restore CS1591 + { + [EnumMember(Value = "v1")] + #pragma warning disable CS1591 + V1, + #pragma warning restore CS1591 + [EnumMember(Value = "v2")] + #pragma warning disable CS1591 + V2, + #pragma warning restore CS1591 + [EnumMember(Value = "v3")] + #pragma warning disable CS1591 + V3, + #pragma warning restore CS1591 + [EnumMember(Value = "v3_1")] + #pragma warning disable CS1591 + V3_1, + #pragma warning restore CS1591 + [EnumMember(Value = "v3_2")] + #pragma warning disable CS1591 + V3_2, + #pragma warning restore CS1591 + [EnumMember(Value = "v3_2_1")] + #pragma warning disable CS1591 + V3_2_1, + #pragma warning restore CS1591 + [EnumMember(Value = "notSupported")] + #pragma warning disable CS1591 + NotSupported, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + [EnumMember(Value = "v4")] + #pragma warning disable CS1591 + V4, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/AppInfoUploadedDataTypes.cs b/src/Microsoft.Graph/Generated/Models/Security/AppInfoUploadedDataTypes.cs new file mode 100644 index 00000000000..fcd18c5582f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AppInfoUploadedDataTypes.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppInfoUploadedDataTypes + #pragma warning restore CS1591 + { + [EnumMember(Value = "documents")] + #pragma warning disable CS1591 + Documents, + #pragma warning restore CS1591 + [EnumMember(Value = "mediaFiles")] + #pragma warning disable CS1591 + MediaFiles, + #pragma warning restore CS1591 + [EnumMember(Value = "codingFiles")] + #pragma warning disable CS1591 + CodingFiles, + #pragma warning restore CS1591 + [EnumMember(Value = "creditCards")] + #pragma warning disable CS1591 + CreditCards, + #pragma warning restore CS1591 + [EnumMember(Value = "databaseFiles")] + #pragma warning disable CS1591 + DatabaseFiles, + #pragma warning restore CS1591 + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/CloudAppDiscoveryReport.cs b/src/Microsoft.Graph/Generated/Models/Security/CloudAppDiscoveryReport.cs new file mode 100644 index 00000000000..2fc0fb9627e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CloudAppDiscoveryReport.cs @@ -0,0 +1,190 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudAppDiscoveryReport : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Use 1 if the machine information is anonymized; otherwise use 0. + public bool? AnonymizeMachineData + { + get { return BackingStore?.Get("anonymizeMachineData"); } + set { BackingStore?.Set("anonymizeMachineData", value); } + } + /// Use 1 if the user information is anonymized; otherwise use 0. + public bool? AnonymizeUserData + { + get { return BackingStore?.Get("anonymizeUserData"); } + set { BackingStore?.Set("anonymizeUserData", value); } + } + /// The date in the format specified. The Timestamp represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// A comment or description for the report. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The display name of the continuous report. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Use 1 for a snapshot report; otherwise use 0. + public bool? IsSnapshotReport + { + get { return BackingStore?.Get("isSnapshotReport"); } + set { BackingStore?.Set("isSnapshotReport", value); } + } + /// The date when the data was last received. The Timestamp represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? LastDataReceivedDateTime + { + get { return BackingStore?.Get("lastDataReceivedDateTime"); } + set { BackingStore?.Set("lastDataReceivedDateTime", value); } + } + /// The date when the continuous report was last modified. The Timestamp represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The applicable log data provider. Possible values are: barracuda, bluecoat, checkpoint, ciscoAsa, ciscoIronportProxy, fortigate, paloAlto, squid, zscaler, mcafeeSwg, ciscoScanSafe, juniperSrx, sophosSg, websenseV75, websenseSiemCef, machineZoneMeraki, squidNative, ciscoFwsm, microsoftIsaW3C, sonicwall, sophosCyberoam, clavister, customParser, juniperSsg, zscalerQradar, juniperSrxSd, juniperSrxWelf, microsoftConditionalAppAccess, ciscoAsaFirepower, genericCef, genericLeef, genericW3C, iFilter, checkpointXml, checkpointSmartViewTracker, barracudaNextGenFw, barracudaNextGenFwWeblog, microsoftDefenderForEndpoint, zscalerCef, sophosXg, iboss, forcepoint, fortios, ciscoIronportWsaIi, paloAltoLeef, forcepointLeef, stormshield, contentkeeper, ciscoIronportWsaIii, checkpointCef, corrata, ciscoFirepowerV6, menloSecurityCef, watchguardXtm, openSystemsSecureWebGateway, wandera, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.Security.LogDataProvider? LogDataProvider + { + get { return BackingStore?.Get("logDataProvider"); } + set { BackingStore?.Set("logDataProvider", value); } + } + /// The count of log files history. + public int? LogFileCount + { + get { return BackingStore?.Get("logFileCount"); } + set { BackingStore?.Set("logFileCount", value); } + } + /// The applicable receiver protocol. Possible values are: ftp, ftps, syslogUdp, syslogTcp, syslogTls, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.Security.ReceiverProtocol? ReceiverProtocol + { + get { return BackingStore?.Get("receiverProtocol"); } + set { BackingStore?.Set("receiverProtocol", value); } + } + /// The supported entity type. Possible values are: userName, ipAddress, machineName, other, unknown, unknownFutureValue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedEntityTypes + { + get { return BackingStore?.Get?>("supportedEntityTypes"); } + set { BackingStore?.Set("supportedEntityTypes", value); } + } +#nullable restore +#else + public List SupportedEntityTypes + { + get { return BackingStore?.Get>("supportedEntityTypes"); } + set { BackingStore?.Set("supportedEntityTypes", value); } + } +#endif + /// The supported traffic type. Possible values are: downloadedBytes, uploadedBytes, unknown, unknownFutureValue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedTrafficTypes + { + get { return BackingStore?.Get?>("supportedTrafficTypes"); } + set { BackingStore?.Set("supportedTrafficTypes", value); } + } +#nullable restore +#else + public List SupportedTrafficTypes + { + get { return BackingStore?.Get>("supportedTrafficTypes"); } + set { BackingStore?.Set("supportedTrafficTypes", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "anonymizeMachineData", n => { AnonymizeMachineData = n.GetBoolValue(); } }, + { "anonymizeUserData", n => { AnonymizeUserData = n.GetBoolValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isSnapshotReport", n => { IsSnapshotReport = n.GetBoolValue(); } }, + { "lastDataReceivedDateTime", n => { LastDataReceivedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "logDataProvider", n => { LogDataProvider = n.GetEnumValue(); } }, + { "logFileCount", n => { LogFileCount = n.GetIntValue(); } }, + { "receiverProtocol", n => { ReceiverProtocol = n.GetEnumValue(); } }, + { "supportedEntityTypes", n => { SupportedEntityTypes = n.GetCollectionOfEnumValues()?.AsList(); } }, + { "supportedTrafficTypes", n => { SupportedTrafficTypes = n.GetCollectionOfEnumValues()?.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.WriteBoolValue("anonymizeMachineData", AnonymizeMachineData); + writer.WriteBoolValue("anonymizeUserData", AnonymizeUserData); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteBoolValue("isSnapshotReport", IsSnapshotReport); + writer.WriteDateTimeOffsetValue("lastDataReceivedDateTime", LastDataReceivedDateTime); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteEnumValue("logDataProvider", LogDataProvider); + writer.WriteIntValue("logFileCount", LogFileCount); + writer.WriteEnumValue("receiverProtocol", ReceiverProtocol); + writer.WriteCollectionOfEnumValues("supportedEntityTypes", SupportedEntityTypes); + writer.WriteCollectionOfEnumValues("supportedTrafficTypes", SupportedTrafficTypes); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CloudAppDiscoveryReportCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/CloudAppDiscoveryReportCollectionResponse.cs new file mode 100644 index 00000000000..74ab15ec6b5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CloudAppDiscoveryReportCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudAppDiscoveryReportCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReportCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReportCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport.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/Security/CloudAppInfoState.cs b/src/Microsoft.Graph/Generated/Models/Security/CloudAppInfoState.cs new file mode 100644 index 00000000000..ec3e556d16a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CloudAppInfoState.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CloudAppInfoState + #pragma warning restore CS1591 + { + [EnumMember(Value = "true")] + #pragma warning disable CS1591 + True, + #pragma warning restore CS1591 + [EnumMember(Value = "false")] + #pragma warning disable CS1591 + False, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/DataDiscoveryReport.cs b/src/Microsoft.Graph/Generated/Models/Security/DataDiscoveryReport.cs new file mode 100644 index 00000000000..40f159f375e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DataDiscoveryReport.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DataDiscoveryReport : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// A collection of streams available for generating cloud discovery report. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? UploadedStreams + { + get { return BackingStore?.Get?>("uploadedStreams"); } + set { BackingStore?.Set("uploadedStreams", value); } + } +#nullable restore +#else + public List UploadedStreams + { + get { return BackingStore?.Get>("uploadedStreams"); } + set { BackingStore?.Set("uploadedStreams", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "uploadedStreams", n => { UploadedStreams = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport.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("uploadedStreams", UploadedStreams); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DataDiscoveryRoot.cs b/src/Microsoft.Graph/Generated/Models/Security/DataDiscoveryRoot.cs new file mode 100644 index 00000000000..034ef0127a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DataDiscoveryRoot.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DataDiscoveryRoot : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The available entities are IP addresses, devices, and users who access a cloud app. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport? CloudAppDiscovery + { + get { return BackingStore?.Get("cloudAppDiscovery"); } + set { BackingStore?.Set("cloudAppDiscovery", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport CloudAppDiscovery + { + get { return BackingStore?.Get("cloudAppDiscovery"); } + set { BackingStore?.Set("cloudAppDiscovery", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "cloudAppDiscovery", n => { CloudAppDiscovery = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport.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("cloudAppDiscovery", CloudAppDiscovery); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppDetail.cs b/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppDetail.cs new file mode 100644 index 00000000000..cbe03fb5798 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppDetail.cs @@ -0,0 +1,249 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DiscoveredCloudAppDetail : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The application information. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppInfo? AppInfo + { + get { return BackingStore?.Get("appInfo"); } + set { BackingStore?.Set("appInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppInfo AppInfo + { + get { return BackingStore?.Get("appInfo"); } + set { BackingStore?.Set("appInfo", value); } + } +#endif + /// The category property + public global::Microsoft.Graph.Beta.Models.Security.AppCategory? Category + { + get { return BackingStore?.Get("category"); } + set { BackingStore?.Set("category", value); } + } + /// The description property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The app name. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The domain. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Domains + { + get { return BackingStore?.Get?>("domains"); } + set { BackingStore?.Set("domains", value); } + } +#nullable restore +#else + public List Domains + { + get { return BackingStore?.Get>("domains"); } + set { BackingStore?.Set("domains", value); } + } +#endif + /// The download traffic size. + public long? DownloadNetworkTrafficInBytes + { + get { return BackingStore?.Get("downloadNetworkTrafficInBytes"); } + set { BackingStore?.Set("downloadNetworkTrafficInBytes", value); } + } + /// The firstSeenDateTime property + public DateTimeOffset? FirstSeenDateTime + { + get { return BackingStore?.Get("firstSeenDateTime"); } + set { BackingStore?.Set("firstSeenDateTime", value); } + } + /// The IP address. + public long? IpAddressCount + { + get { return BackingStore?.Get("ipAddressCount"); } + set { BackingStore?.Set("ipAddressCount", value); } + } + /// The list of IP addresses accessed by the app. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IpAddresses + { + get { return BackingStore?.Get?>("ipAddresses"); } + set { BackingStore?.Set("ipAddresses", value); } + } +#nullable restore +#else + public List IpAddresses + { + get { return BackingStore?.Get>("ipAddresses"); } + set { BackingStore?.Set("ipAddresses", value); } + } +#endif + /// The last seen date of the discovered app. The Timestamp represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + public DateTimeOffset? LastSeenDateTime + { + get { return BackingStore?.Get("lastSeenDateTime"); } + set { BackingStore?.Set("lastSeenDateTime", value); } + } + /// The risk score of the app. + public long? RiskScore + { + get { return BackingStore?.Get("riskScore"); } + set { BackingStore?.Set("riskScore", value); } + } + /// The tags applied to an app. Possible values include Unsanctioned, Sanctioned, Monitored, or a custom value. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Tags + { + get { return BackingStore?.Get?>("tags"); } + set { BackingStore?.Set("tags", value); } + } +#nullable restore +#else + public List Tags + { + get { return BackingStore?.Get>("tags"); } + set { BackingStore?.Set("tags", value); } + } +#endif + /// The app transaction count. + public long? TransactionCount + { + get { return BackingStore?.Get("transactionCount"); } + set { BackingStore?.Set("transactionCount", value); } + } + /// The app upload traffic size, in bytes. + public long? UploadNetworkTrafficInBytes + { + get { return BackingStore?.Get("uploadNetworkTrafficInBytes"); } + set { BackingStore?.Set("uploadNetworkTrafficInBytes", value); } + } + /// The count of users who use the app. + public long? UserCount + { + get { return BackingStore?.Get("userCount"); } + set { BackingStore?.Set("userCount", value); } + } + /// The list of users who access the app. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Users + { + get { return BackingStore?.Get?>("users"); } + set { BackingStore?.Set("users", value); } + } +#nullable restore +#else + public List Users + { + get { return BackingStore?.Get>("users"); } + set { BackingStore?.Set("users", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.security.endpointDiscoveredCloudAppDetail" => new global::Microsoft.Graph.Beta.Models.Security.EndpointDiscoveredCloudAppDetail(), + _ => new global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppDetail(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "appInfo", n => { AppInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppInfo.CreateFromDiscriminatorValue); } }, + { "category", n => { Category = n.GetEnumValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "domains", n => { Domains = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "downloadNetworkTrafficInBytes", n => { DownloadNetworkTrafficInBytes = n.GetLongValue(); } }, + { "firstSeenDateTime", n => { FirstSeenDateTime = n.GetDateTimeOffsetValue(); } }, + { "ipAddressCount", n => { IpAddressCount = n.GetLongValue(); } }, + { "ipAddresses", n => { IpAddresses = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppIPAddress.CreateFromDiscriminatorValue)?.AsList(); } }, + { "lastSeenDateTime", n => { LastSeenDateTime = n.GetDateTimeOffsetValue(); } }, + { "riskScore", n => { RiskScore = n.GetLongValue(); } }, + { "tags", n => { Tags = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "transactionCount", n => { TransactionCount = n.GetLongValue(); } }, + { "uploadNetworkTrafficInBytes", n => { UploadNetworkTrafficInBytes = n.GetLongValue(); } }, + { "userCount", n => { UserCount = n.GetLongValue(); } }, + { "users", n => { Users = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppUser.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.WriteObjectValue("appInfo", AppInfo); + writer.WriteEnumValue("category", Category); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfPrimitiveValues("domains", Domains); + writer.WriteLongValue("downloadNetworkTrafficInBytes", DownloadNetworkTrafficInBytes); + writer.WriteDateTimeOffsetValue("firstSeenDateTime", FirstSeenDateTime); + writer.WriteLongValue("ipAddressCount", IpAddressCount); + writer.WriteCollectionOfObjectValues("ipAddresses", IpAddresses); + writer.WriteDateTimeOffsetValue("lastSeenDateTime", LastSeenDateTime); + writer.WriteLongValue("riskScore", RiskScore); + writer.WriteCollectionOfPrimitiveValues("tags", Tags); + writer.WriteLongValue("transactionCount", TransactionCount); + writer.WriteLongValue("uploadNetworkTrafficInBytes", UploadNetworkTrafficInBytes); + writer.WriteLongValue("userCount", UserCount); + writer.WriteCollectionOfObjectValues("users", Users); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppDevice.cs b/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppDevice.cs new file mode 100644 index 00000000000..b948005cc32 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppDevice.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DiscoveredCloudAppDevice : 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 cloud app. +#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 + /// + /// Instantiates a new and sets the default values. + /// + public DiscoveredCloudAppDevice() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppDevice CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppDevice(); + } + /// + /// 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(); } }, + }; + } + /// + /// 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.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppIPAddress.cs b/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppIPAddress.cs new file mode 100644 index 00000000000..683f3592477 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppIPAddress.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DiscoveredCloudAppIPAddress : 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 IP address associated with a discovered cloud app. +#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 + /// + /// Instantiates a new and sets the default values. + /// + public DiscoveredCloudAppIPAddress() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppIPAddress CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppIPAddress(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ipAddress", n => { IpAddress = 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("ipAddress", IpAddress); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppInfo.cs new file mode 100644 index 00000000000..51f9b5c8f33 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppInfo.cs @@ -0,0 +1,770 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DiscoveredCloudAppInfo : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The csaStarLevel property + public global::Microsoft.Graph.Beta.Models.Security.AppInfoCsaStarLevel? CsaStarLevel + { + get { return BackingStore?.Get("csaStarLevel"); } + set { BackingStore?.Set("csaStarLevel", value); } + } + /// The dataAtRestEncryptionMethod property + public global::Microsoft.Graph.Beta.Models.Security.AppInfoDataAtRestEncryptionMethod? DataAtRestEncryptionMethod + { + get { return BackingStore?.Get("dataAtRestEncryptionMethod"); } + set { BackingStore?.Set("dataAtRestEncryptionMethod", value); } + } + /// Indicates the countries or regions in which your data center resides. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DataCenter + { + get { return BackingStore?.Get("dataCenter"); } + set { BackingStore?.Set("dataCenter", value); } + } +#nullable restore +#else + public string DataCenter + { + get { return BackingStore?.Get("dataCenter"); } + set { BackingStore?.Set("dataCenter", value); } + } +#endif + /// The dataRetentionPolicy property + public global::Microsoft.Graph.Beta.Models.Security.AppInfoDataRetentionPolicy? DataRetentionPolicy + { + get { return BackingStore?.Get("dataRetentionPolicy"); } + set { BackingStore?.Set("dataRetentionPolicy", value); } + } + /// The dataTypes property + public global::Microsoft.Graph.Beta.Models.Security.AppInfoUploadedDataTypes? DataTypes + { + get { return BackingStore?.Get("dataTypes"); } + set { BackingStore?.Set("dataTypes", value); } + } + /// Indicates the date when the app domain was registered. + public DateTimeOffset? DomainRegistrationDateTime + { + get { return BackingStore?.Get("domainRegistrationDateTime"); } + set { BackingStore?.Set("domainRegistrationDateTime", value); } + } + /// The encryptionProtocol property + public global::Microsoft.Graph.Beta.Models.Security.AppInfoEncryptionProtocol? EncryptionProtocol + { + get { return BackingStore?.Get("encryptionProtocol"); } + set { BackingStore?.Set("encryptionProtocol", value); } + } + /// The fedRampLevel property + public global::Microsoft.Graph.Beta.Models.Security.AppInfoFedRampLevel? FedRampLevel + { + get { return BackingStore?.Get("fedRampLevel"); } + set { BackingStore?.Set("fedRampLevel", value); } + } + /// Indicates the year that the specific app vendor was established. + public int? Founded + { + get { return BackingStore?.Get("founded"); } + set { BackingStore?.Set("founded", value); } + } + /// Indicates the GDPR readiness of the app in relation to policies app provides to safeguard personal user data. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? GdprReadinessStatement + { + get { return BackingStore?.Get("gdprReadinessStatement"); } + set { BackingStore?.Set("gdprReadinessStatement", value); } + } +#nullable restore +#else + public string GdprReadinessStatement + { + get { return BackingStore?.Get("gdprReadinessStatement"); } + set { BackingStore?.Set("gdprReadinessStatement", value); } + } +#endif + /// Indicates the location of the headquarters of the app. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Headquarters + { + get { return BackingStore?.Get("headquarters"); } + set { BackingStore?.Set("headquarters", value); } + } +#nullable restore +#else + public string Headquarters + { + get { return BackingStore?.Get("headquarters"); } + set { BackingStore?.Set("headquarters", value); } + } +#endif + /// The holding property + public global::Microsoft.Graph.Beta.Models.Security.AppInfoHolding? Holding + { + get { return BackingStore?.Get("holding"); } + set { BackingStore?.Set("holding", value); } + } + /// Indicates the company name that provides hosting services for the app. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? HostingCompany + { + get { return BackingStore?.Get("hostingCompany"); } + set { BackingStore?.Set("hostingCompany", value); } + } +#nullable restore +#else + public string HostingCompany + { + get { return BackingStore?.Get("hostingCompany"); } + set { BackingStore?.Set("hostingCompany", value); } + } +#endif + /// The isAdminAuditTrail property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsAdminAuditTrail + { + get { return BackingStore?.Get("isAdminAuditTrail"); } + set { BackingStore?.Set("isAdminAuditTrail", value); } + } + /// The isCobitCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsCobitCompliant + { + get { return BackingStore?.Get("isCobitCompliant"); } + set { BackingStore?.Set("isCobitCompliant", value); } + } + /// The isCoppaCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsCoppaCompliant + { + get { return BackingStore?.Get("isCoppaCompliant"); } + set { BackingStore?.Set("isCoppaCompliant", value); } + } + /// The isDataAuditTrail property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsDataAuditTrail + { + get { return BackingStore?.Get("isDataAuditTrail"); } + set { BackingStore?.Set("isDataAuditTrail", value); } + } + /// The isDataClassification property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsDataClassification + { + get { return BackingStore?.Get("isDataClassification"); } + set { BackingStore?.Set("isDataClassification", value); } + } + /// The isDataOwnership property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsDataOwnership + { + get { return BackingStore?.Get("isDataOwnership"); } + set { BackingStore?.Set("isDataOwnership", value); } + } + /// The isDisasterRecoveryPlan property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsDisasterRecoveryPlan + { + get { return BackingStore?.Get("isDisasterRecoveryPlan"); } + set { BackingStore?.Set("isDisasterRecoveryPlan", value); } + } + /// The isDmca property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsDmca + { + get { return BackingStore?.Get("isDmca"); } + set { BackingStore?.Set("isDmca", value); } + } + /// The isFerpaCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsFerpaCompliant + { + get { return BackingStore?.Get("isFerpaCompliant"); } + set { BackingStore?.Set("isFerpaCompliant", value); } + } + /// The isFfiecCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsFfiecCompliant + { + get { return BackingStore?.Get("isFfiecCompliant"); } + set { BackingStore?.Set("isFfiecCompliant", value); } + } + /// The isFileSharing property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsFileSharing + { + get { return BackingStore?.Get("isFileSharing"); } + set { BackingStore?.Set("isFileSharing", value); } + } + /// The isFinraCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsFinraCompliant + { + get { return BackingStore?.Get("isFinraCompliant"); } + set { BackingStore?.Set("isFinraCompliant", value); } + } + /// The isFismaCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsFismaCompliant + { + get { return BackingStore?.Get("isFismaCompliant"); } + set { BackingStore?.Set("isFismaCompliant", value); } + } + /// The isGaapCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGaapCompliant + { + get { return BackingStore?.Get("isGaapCompliant"); } + set { BackingStore?.Set("isGaapCompliant", value); } + } + /// The isGdprDataProtectionImpactAssessment property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprDataProtectionImpactAssessment + { + get { return BackingStore?.Get("isGdprDataProtectionImpactAssessment"); } + set { BackingStore?.Set("isGdprDataProtectionImpactAssessment", value); } + } + /// The isGdprDataProtectionOfficer property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprDataProtectionOfficer + { + get { return BackingStore?.Get("isGdprDataProtectionOfficer"); } + set { BackingStore?.Set("isGdprDataProtectionOfficer", value); } + } + /// The isGdprDataProtectionSecureCrossBorderDataTransfer property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprDataProtectionSecureCrossBorderDataTransfer + { + get { return BackingStore?.Get("isGdprDataProtectionSecureCrossBorderDataTransfer"); } + set { BackingStore?.Set("isGdprDataProtectionSecureCrossBorderDataTransfer", value); } + } + /// The isGdprImpactAssessment property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprImpactAssessment + { + get { return BackingStore?.Get("isGdprImpactAssessment"); } + set { BackingStore?.Set("isGdprImpactAssessment", value); } + } + /// The isGdprLawfulBasisForProcessing property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprLawfulBasisForProcessing + { + get { return BackingStore?.Get("isGdprLawfulBasisForProcessing"); } + set { BackingStore?.Set("isGdprLawfulBasisForProcessing", value); } + } + /// The isGdprReportDataBreaches property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprReportDataBreaches + { + get { return BackingStore?.Get("isGdprReportDataBreaches"); } + set { BackingStore?.Set("isGdprReportDataBreaches", value); } + } + /// The isGdprRightsRelatedToAutomatedDecisionMaking property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprRightsRelatedToAutomatedDecisionMaking + { + get { return BackingStore?.Get("isGdprRightsRelatedToAutomatedDecisionMaking"); } + set { BackingStore?.Set("isGdprRightsRelatedToAutomatedDecisionMaking", value); } + } + /// The isGdprRightToAccess property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprRightToAccess + { + get { return BackingStore?.Get("isGdprRightToAccess"); } + set { BackingStore?.Set("isGdprRightToAccess", value); } + } + /// The isGdprRightToBeInformed property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprRightToBeInformed + { + get { return BackingStore?.Get("isGdprRightToBeInformed"); } + set { BackingStore?.Set("isGdprRightToBeInformed", value); } + } + /// The isGdprRightToDataPortablility property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprRightToDataPortablility + { + get { return BackingStore?.Get("isGdprRightToDataPortablility"); } + set { BackingStore?.Set("isGdprRightToDataPortablility", value); } + } + /// The isGdprRightToErasure property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprRightToErasure + { + get { return BackingStore?.Get("isGdprRightToErasure"); } + set { BackingStore?.Set("isGdprRightToErasure", value); } + } + /// The isGdprRightToObject property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprRightToObject + { + get { return BackingStore?.Get("isGdprRightToObject"); } + set { BackingStore?.Set("isGdprRightToObject", value); } + } + /// The isGdprRightToRectification property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprRightToRectification + { + get { return BackingStore?.Get("isGdprRightToRectification"); } + set { BackingStore?.Set("isGdprRightToRectification", value); } + } + /// The isGdprRightToRestrictionOfProcessing property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprRightToRestrictionOfProcessing + { + get { return BackingStore?.Get("isGdprRightToRestrictionOfProcessing"); } + set { BackingStore?.Set("isGdprRightToRestrictionOfProcessing", value); } + } + /// The isGdprSecureCrossBorderDataControl property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGdprSecureCrossBorderDataControl + { + get { return BackingStore?.Get("isGdprSecureCrossBorderDataControl"); } + set { BackingStore?.Set("isGdprSecureCrossBorderDataControl", value); } + } + /// The isGlbaCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsGlbaCompliant + { + get { return BackingStore?.Get("isGlbaCompliant"); } + set { BackingStore?.Set("isGlbaCompliant", value); } + } + /// The isHipaaCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsHipaaCompliant + { + get { return BackingStore?.Get("isHipaaCompliant"); } + set { BackingStore?.Set("isHipaaCompliant", value); } + } + /// The isHitrustCsfCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsHitrustCsfCompliant + { + get { return BackingStore?.Get("isHitrustCsfCompliant"); } + set { BackingStore?.Set("isHitrustCsfCompliant", value); } + } + /// The isHttpSecurityHeadersContentSecurityPolicy property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsHttpSecurityHeadersContentSecurityPolicy + { + get { return BackingStore?.Get("isHttpSecurityHeadersContentSecurityPolicy"); } + set { BackingStore?.Set("isHttpSecurityHeadersContentSecurityPolicy", value); } + } + /// The isHttpSecurityHeadersStrictTransportSecurity property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsHttpSecurityHeadersStrictTransportSecurity + { + get { return BackingStore?.Get("isHttpSecurityHeadersStrictTransportSecurity"); } + set { BackingStore?.Set("isHttpSecurityHeadersStrictTransportSecurity", value); } + } + /// The isHttpSecurityHeadersXContentTypeOptions property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsHttpSecurityHeadersXContentTypeOptions + { + get { return BackingStore?.Get("isHttpSecurityHeadersXContentTypeOptions"); } + set { BackingStore?.Set("isHttpSecurityHeadersXContentTypeOptions", value); } + } + /// The isHttpSecurityHeadersXFrameOptions property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsHttpSecurityHeadersXFrameOptions + { + get { return BackingStore?.Get("isHttpSecurityHeadersXFrameOptions"); } + set { BackingStore?.Set("isHttpSecurityHeadersXFrameOptions", value); } + } + /// The isHttpSecurityHeadersXXssProtection property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsHttpSecurityHeadersXXssProtection + { + get { return BackingStore?.Get("isHttpSecurityHeadersXXssProtection"); } + set { BackingStore?.Set("isHttpSecurityHeadersXXssProtection", value); } + } + /// The isIpAddressRestriction property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsIpAddressRestriction + { + get { return BackingStore?.Get("isIpAddressRestriction"); } + set { BackingStore?.Set("isIpAddressRestriction", value); } + } + /// The isIsae3402Compliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsIsae3402Compliant + { + get { return BackingStore?.Get("isIsae3402Compliant"); } + set { BackingStore?.Set("isIsae3402Compliant", value); } + } + /// The isIso27001Compliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsIso27001Compliant + { + get { return BackingStore?.Get("isIso27001Compliant"); } + set { BackingStore?.Set("isIso27001Compliant", value); } + } + /// The isIso27017Compliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsIso27017Compliant + { + get { return BackingStore?.Get("isIso27017Compliant"); } + set { BackingStore?.Set("isIso27017Compliant", value); } + } + /// The isIso27018Compliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsIso27018Compliant + { + get { return BackingStore?.Get("isIso27018Compliant"); } + set { BackingStore?.Set("isIso27018Compliant", value); } + } + /// The isItarCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsItarCompliant + { + get { return BackingStore?.Get("isItarCompliant"); } + set { BackingStore?.Set("isItarCompliant", value); } + } + /// The isMultiFactorAuthentication property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsMultiFactorAuthentication + { + get { return BackingStore?.Get("isMultiFactorAuthentication"); } + set { BackingStore?.Set("isMultiFactorAuthentication", value); } + } + /// The isPasswordPolicy property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsPasswordPolicy + { + get { return BackingStore?.Get("isPasswordPolicy"); } + set { BackingStore?.Set("isPasswordPolicy", value); } + } + /// The isPasswordPolicyChangePasswordPeriod property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsPasswordPolicyChangePasswordPeriod + { + get { return BackingStore?.Get("isPasswordPolicyChangePasswordPeriod"); } + set { BackingStore?.Set("isPasswordPolicyChangePasswordPeriod", value); } + } + /// The isPasswordPolicyCharacterCombination property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsPasswordPolicyCharacterCombination + { + get { return BackingStore?.Get("isPasswordPolicyCharacterCombination"); } + set { BackingStore?.Set("isPasswordPolicyCharacterCombination", value); } + } + /// The isPasswordPolicyPasswordHistoryAndReuse property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsPasswordPolicyPasswordHistoryAndReuse + { + get { return BackingStore?.Get("isPasswordPolicyPasswordHistoryAndReuse"); } + set { BackingStore?.Set("isPasswordPolicyPasswordHistoryAndReuse", value); } + } + /// The isPasswordPolicyPasswordLengthLimit property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsPasswordPolicyPasswordLengthLimit + { + get { return BackingStore?.Get("isPasswordPolicyPasswordLengthLimit"); } + set { BackingStore?.Set("isPasswordPolicyPasswordLengthLimit", value); } + } + /// The isPasswordPolicyPersonalInformationUse property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsPasswordPolicyPersonalInformationUse + { + get { return BackingStore?.Get("isPasswordPolicyPersonalInformationUse"); } + set { BackingStore?.Set("isPasswordPolicyPersonalInformationUse", value); } + } + /// The isPenetrationTesting property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsPenetrationTesting + { + get { return BackingStore?.Get("isPenetrationTesting"); } + set { BackingStore?.Set("isPenetrationTesting", value); } + } + /// The isPrivacyShieldCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsPrivacyShieldCompliant + { + get { return BackingStore?.Get("isPrivacyShieldCompliant"); } + set { BackingStore?.Set("isPrivacyShieldCompliant", value); } + } + /// The isRememberPassword property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsRememberPassword + { + get { return BackingStore?.Get("isRememberPassword"); } + set { BackingStore?.Set("isRememberPassword", value); } + } + /// The isRequiresUserAuthentication property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsRequiresUserAuthentication + { + get { return BackingStore?.Get("isRequiresUserAuthentication"); } + set { BackingStore?.Set("isRequiresUserAuthentication", value); } + } + /// The isSoc1Compliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsSoc1Compliant + { + get { return BackingStore?.Get("isSoc1Compliant"); } + set { BackingStore?.Set("isSoc1Compliant", value); } + } + /// The isSoc2Compliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsSoc2Compliant + { + get { return BackingStore?.Get("isSoc2Compliant"); } + set { BackingStore?.Set("isSoc2Compliant", value); } + } + /// The isSoc3Compliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsSoc3Compliant + { + get { return BackingStore?.Get("isSoc3Compliant"); } + set { BackingStore?.Set("isSoc3Compliant", value); } + } + /// The isSoxCompliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsSoxCompliant + { + get { return BackingStore?.Get("isSoxCompliant"); } + set { BackingStore?.Set("isSoxCompliant", value); } + } + /// The isSp80053Compliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsSp80053Compliant + { + get { return BackingStore?.Get("isSp80053Compliant"); } + set { BackingStore?.Set("isSp80053Compliant", value); } + } + /// The isSsae16Compliant property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsSsae16Compliant + { + get { return BackingStore?.Get("isSsae16Compliant"); } + set { BackingStore?.Set("isSsae16Compliant", value); } + } + /// The isSupportsSaml property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsSupportsSaml + { + get { return BackingStore?.Get("isSupportsSaml"); } + set { BackingStore?.Set("isSupportsSaml", value); } + } + /// The isTrustedCertificate property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsTrustedCertificate + { + get { return BackingStore?.Get("isTrustedCertificate"); } + set { BackingStore?.Set("isTrustedCertificate", value); } + } + /// The isUserAuditTrail property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsUserAuditTrail + { + get { return BackingStore?.Get("isUserAuditTrail"); } + set { BackingStore?.Set("isUserAuditTrail", value); } + } + /// The isUserCanUploadData property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsUserCanUploadData + { + get { return BackingStore?.Get("isUserCanUploadData"); } + set { BackingStore?.Set("isUserCanUploadData", value); } + } + /// The isUserRolesSupport property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsUserRolesSupport + { + get { return BackingStore?.Get("isUserRolesSupport"); } + set { BackingStore?.Set("isUserRolesSupport", value); } + } + /// The isValidCertificateName property + public global::Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? IsValidCertificateName + { + get { return BackingStore?.Get("isValidCertificateName"); } + set { BackingStore?.Set("isValidCertificateName", value); } + } + /// Indicates the last date of the data breach for the company. + public DateTimeOffset? LatestBreachDateTime + { + get { return BackingStore?.Get("latestBreachDateTime"); } + set { BackingStore?.Set("latestBreachDateTime", value); } + } + /// Indicates the URL that users can use to sign into the app. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LogonUrls + { + get { return BackingStore?.Get("logonUrls"); } + set { BackingStore?.Set("logonUrls", value); } + } +#nullable restore +#else + public string LogonUrls + { + get { return BackingStore?.Get("logonUrls"); } + set { BackingStore?.Set("logonUrls", value); } + } +#endif + /// The pciDssVersion property + public global::Microsoft.Graph.Beta.Models.Security.AppInfoPciDssVersion? PciDssVersion + { + get { return BackingStore?.Get("pciDssVersion"); } + set { BackingStore?.Set("pciDssVersion", value); } + } + /// Indicates the app vendor. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Vendor + { + get { return BackingStore?.Get("vendor"); } + set { BackingStore?.Set("vendor", value); } + } +#nullable restore +#else + public string Vendor + { + get { return BackingStore?.Get("vendor"); } + set { BackingStore?.Set("vendor", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "csaStarLevel", n => { CsaStarLevel = n.GetEnumValue(); } }, + { "dataAtRestEncryptionMethod", n => { DataAtRestEncryptionMethod = n.GetEnumValue(); } }, + { "dataCenter", n => { DataCenter = n.GetStringValue(); } }, + { "dataRetentionPolicy", n => { DataRetentionPolicy = n.GetEnumValue(); } }, + { "dataTypes", n => { DataTypes = n.GetEnumValue(); } }, + { "domainRegistrationDateTime", n => { DomainRegistrationDateTime = n.GetDateTimeOffsetValue(); } }, + { "encryptionProtocol", n => { EncryptionProtocol = n.GetEnumValue(); } }, + { "fedRampLevel", n => { FedRampLevel = n.GetEnumValue(); } }, + { "founded", n => { Founded = n.GetIntValue(); } }, + { "gdprReadinessStatement", n => { GdprReadinessStatement = n.GetStringValue(); } }, + { "headquarters", n => { Headquarters = n.GetStringValue(); } }, + { "holding", n => { Holding = n.GetEnumValue(); } }, + { "hostingCompany", n => { HostingCompany = n.GetStringValue(); } }, + { "isAdminAuditTrail", n => { IsAdminAuditTrail = n.GetEnumValue(); } }, + { "isCobitCompliant", n => { IsCobitCompliant = n.GetEnumValue(); } }, + { "isCoppaCompliant", n => { IsCoppaCompliant = n.GetEnumValue(); } }, + { "isDataAuditTrail", n => { IsDataAuditTrail = n.GetEnumValue(); } }, + { "isDataClassification", n => { IsDataClassification = n.GetEnumValue(); } }, + { "isDataOwnership", n => { IsDataOwnership = n.GetEnumValue(); } }, + { "isDisasterRecoveryPlan", n => { IsDisasterRecoveryPlan = n.GetEnumValue(); } }, + { "isDmca", n => { IsDmca = n.GetEnumValue(); } }, + { "isFerpaCompliant", n => { IsFerpaCompliant = n.GetEnumValue(); } }, + { "isFfiecCompliant", n => { IsFfiecCompliant = n.GetEnumValue(); } }, + { "isFileSharing", n => { IsFileSharing = n.GetEnumValue(); } }, + { "isFinraCompliant", n => { IsFinraCompliant = n.GetEnumValue(); } }, + { "isFismaCompliant", n => { IsFismaCompliant = n.GetEnumValue(); } }, + { "isGaapCompliant", n => { IsGaapCompliant = n.GetEnumValue(); } }, + { "isGdprDataProtectionImpactAssessment", n => { IsGdprDataProtectionImpactAssessment = n.GetEnumValue(); } }, + { "isGdprDataProtectionOfficer", n => { IsGdprDataProtectionOfficer = n.GetEnumValue(); } }, + { "isGdprDataProtectionSecureCrossBorderDataTransfer", n => { IsGdprDataProtectionSecureCrossBorderDataTransfer = n.GetEnumValue(); } }, + { "isGdprImpactAssessment", n => { IsGdprImpactAssessment = n.GetEnumValue(); } }, + { "isGdprLawfulBasisForProcessing", n => { IsGdprLawfulBasisForProcessing = n.GetEnumValue(); } }, + { "isGdprReportDataBreaches", n => { IsGdprReportDataBreaches = n.GetEnumValue(); } }, + { "isGdprRightToAccess", n => { IsGdprRightToAccess = n.GetEnumValue(); } }, + { "isGdprRightToBeInformed", n => { IsGdprRightToBeInformed = n.GetEnumValue(); } }, + { "isGdprRightToDataPortablility", n => { IsGdprRightToDataPortablility = n.GetEnumValue(); } }, + { "isGdprRightToErasure", n => { IsGdprRightToErasure = n.GetEnumValue(); } }, + { "isGdprRightToObject", n => { IsGdprRightToObject = n.GetEnumValue(); } }, + { "isGdprRightToRectification", n => { IsGdprRightToRectification = n.GetEnumValue(); } }, + { "isGdprRightToRestrictionOfProcessing", n => { IsGdprRightToRestrictionOfProcessing = n.GetEnumValue(); } }, + { "isGdprRightsRelatedToAutomatedDecisionMaking", n => { IsGdprRightsRelatedToAutomatedDecisionMaking = n.GetEnumValue(); } }, + { "isGdprSecureCrossBorderDataControl", n => { IsGdprSecureCrossBorderDataControl = n.GetEnumValue(); } }, + { "isGlbaCompliant", n => { IsGlbaCompliant = n.GetEnumValue(); } }, + { "isHipaaCompliant", n => { IsHipaaCompliant = n.GetEnumValue(); } }, + { "isHitrustCsfCompliant", n => { IsHitrustCsfCompliant = n.GetEnumValue(); } }, + { "isHttpSecurityHeadersContentSecurityPolicy", n => { IsHttpSecurityHeadersContentSecurityPolicy = n.GetEnumValue(); } }, + { "isHttpSecurityHeadersStrictTransportSecurity", n => { IsHttpSecurityHeadersStrictTransportSecurity = n.GetEnumValue(); } }, + { "isHttpSecurityHeadersXContentTypeOptions", n => { IsHttpSecurityHeadersXContentTypeOptions = n.GetEnumValue(); } }, + { "isHttpSecurityHeadersXFrameOptions", n => { IsHttpSecurityHeadersXFrameOptions = n.GetEnumValue(); } }, + { "isHttpSecurityHeadersXXssProtection", n => { IsHttpSecurityHeadersXXssProtection = n.GetEnumValue(); } }, + { "isIpAddressRestriction", n => { IsIpAddressRestriction = n.GetEnumValue(); } }, + { "isIsae3402Compliant", n => { IsIsae3402Compliant = n.GetEnumValue(); } }, + { "isIso27001Compliant", n => { IsIso27001Compliant = n.GetEnumValue(); } }, + { "isIso27017Compliant", n => { IsIso27017Compliant = n.GetEnumValue(); } }, + { "isIso27018Compliant", n => { IsIso27018Compliant = n.GetEnumValue(); } }, + { "isItarCompliant", n => { IsItarCompliant = n.GetEnumValue(); } }, + { "isMultiFactorAuthentication", n => { IsMultiFactorAuthentication = n.GetEnumValue(); } }, + { "isPasswordPolicy", n => { IsPasswordPolicy = n.GetEnumValue(); } }, + { "isPasswordPolicyChangePasswordPeriod", n => { IsPasswordPolicyChangePasswordPeriod = n.GetEnumValue(); } }, + { "isPasswordPolicyCharacterCombination", n => { IsPasswordPolicyCharacterCombination = n.GetEnumValue(); } }, + { "isPasswordPolicyPasswordHistoryAndReuse", n => { IsPasswordPolicyPasswordHistoryAndReuse = n.GetEnumValue(); } }, + { "isPasswordPolicyPasswordLengthLimit", n => { IsPasswordPolicyPasswordLengthLimit = n.GetEnumValue(); } }, + { "isPasswordPolicyPersonalInformationUse", n => { IsPasswordPolicyPersonalInformationUse = n.GetEnumValue(); } }, + { "isPenetrationTesting", n => { IsPenetrationTesting = n.GetEnumValue(); } }, + { "isPrivacyShieldCompliant", n => { IsPrivacyShieldCompliant = n.GetEnumValue(); } }, + { "isRememberPassword", n => { IsRememberPassword = n.GetEnumValue(); } }, + { "isRequiresUserAuthentication", n => { IsRequiresUserAuthentication = n.GetEnumValue(); } }, + { "isSoc1Compliant", n => { IsSoc1Compliant = n.GetEnumValue(); } }, + { "isSoc2Compliant", n => { IsSoc2Compliant = n.GetEnumValue(); } }, + { "isSoc3Compliant", n => { IsSoc3Compliant = n.GetEnumValue(); } }, + { "isSoxCompliant", n => { IsSoxCompliant = n.GetEnumValue(); } }, + { "isSp80053Compliant", n => { IsSp80053Compliant = n.GetEnumValue(); } }, + { "isSsae16Compliant", n => { IsSsae16Compliant = n.GetEnumValue(); } }, + { "isSupportsSaml", n => { IsSupportsSaml = n.GetEnumValue(); } }, + { "isTrustedCertificate", n => { IsTrustedCertificate = n.GetEnumValue(); } }, + { "isUserAuditTrail", n => { IsUserAuditTrail = n.GetEnumValue(); } }, + { "isUserCanUploadData", n => { IsUserCanUploadData = n.GetEnumValue(); } }, + { "isUserRolesSupport", n => { IsUserRolesSupport = n.GetEnumValue(); } }, + { "isValidCertificateName", n => { IsValidCertificateName = n.GetEnumValue(); } }, + { "latestBreachDateTime", n => { LatestBreachDateTime = n.GetDateTimeOffsetValue(); } }, + { "logonUrls", n => { LogonUrls = n.GetStringValue(); } }, + { "pciDssVersion", n => { PciDssVersion = n.GetEnumValue(); } }, + { "vendor", n => { Vendor = 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.WriteEnumValue("csaStarLevel", CsaStarLevel); + writer.WriteEnumValue("dataAtRestEncryptionMethod", DataAtRestEncryptionMethod); + writer.WriteStringValue("dataCenter", DataCenter); + writer.WriteEnumValue("dataRetentionPolicy", DataRetentionPolicy); + writer.WriteEnumValue("dataTypes", DataTypes); + writer.WriteDateTimeOffsetValue("domainRegistrationDateTime", DomainRegistrationDateTime); + writer.WriteEnumValue("encryptionProtocol", EncryptionProtocol); + writer.WriteEnumValue("fedRampLevel", FedRampLevel); + writer.WriteIntValue("founded", Founded); + writer.WriteStringValue("gdprReadinessStatement", GdprReadinessStatement); + writer.WriteStringValue("headquarters", Headquarters); + writer.WriteEnumValue("holding", Holding); + writer.WriteStringValue("hostingCompany", HostingCompany); + writer.WriteEnumValue("isAdminAuditTrail", IsAdminAuditTrail); + writer.WriteEnumValue("isCobitCompliant", IsCobitCompliant); + writer.WriteEnumValue("isCoppaCompliant", IsCoppaCompliant); + writer.WriteEnumValue("isDataAuditTrail", IsDataAuditTrail); + writer.WriteEnumValue("isDataClassification", IsDataClassification); + writer.WriteEnumValue("isDataOwnership", IsDataOwnership); + writer.WriteEnumValue("isDisasterRecoveryPlan", IsDisasterRecoveryPlan); + writer.WriteEnumValue("isDmca", IsDmca); + writer.WriteEnumValue("isFerpaCompliant", IsFerpaCompliant); + writer.WriteEnumValue("isFfiecCompliant", IsFfiecCompliant); + writer.WriteEnumValue("isFileSharing", IsFileSharing); + writer.WriteEnumValue("isFinraCompliant", IsFinraCompliant); + writer.WriteEnumValue("isFismaCompliant", IsFismaCompliant); + writer.WriteEnumValue("isGaapCompliant", IsGaapCompliant); + writer.WriteEnumValue("isGdprDataProtectionImpactAssessment", IsGdprDataProtectionImpactAssessment); + writer.WriteEnumValue("isGdprDataProtectionOfficer", IsGdprDataProtectionOfficer); + writer.WriteEnumValue("isGdprDataProtectionSecureCrossBorderDataTransfer", IsGdprDataProtectionSecureCrossBorderDataTransfer); + writer.WriteEnumValue("isGdprImpactAssessment", IsGdprImpactAssessment); + writer.WriteEnumValue("isGdprLawfulBasisForProcessing", IsGdprLawfulBasisForProcessing); + writer.WriteEnumValue("isGdprReportDataBreaches", IsGdprReportDataBreaches); + writer.WriteEnumValue("isGdprRightsRelatedToAutomatedDecisionMaking", IsGdprRightsRelatedToAutomatedDecisionMaking); + writer.WriteEnumValue("isGdprRightToAccess", IsGdprRightToAccess); + writer.WriteEnumValue("isGdprRightToBeInformed", IsGdprRightToBeInformed); + writer.WriteEnumValue("isGdprRightToDataPortablility", IsGdprRightToDataPortablility); + writer.WriteEnumValue("isGdprRightToErasure", IsGdprRightToErasure); + writer.WriteEnumValue("isGdprRightToObject", IsGdprRightToObject); + writer.WriteEnumValue("isGdprRightToRectification", IsGdprRightToRectification); + writer.WriteEnumValue("isGdprRightToRestrictionOfProcessing", IsGdprRightToRestrictionOfProcessing); + writer.WriteEnumValue("isGdprSecureCrossBorderDataControl", IsGdprSecureCrossBorderDataControl); + writer.WriteEnumValue("isGlbaCompliant", IsGlbaCompliant); + writer.WriteEnumValue("isHipaaCompliant", IsHipaaCompliant); + writer.WriteEnumValue("isHitrustCsfCompliant", IsHitrustCsfCompliant); + writer.WriteEnumValue("isHttpSecurityHeadersContentSecurityPolicy", IsHttpSecurityHeadersContentSecurityPolicy); + writer.WriteEnumValue("isHttpSecurityHeadersStrictTransportSecurity", IsHttpSecurityHeadersStrictTransportSecurity); + writer.WriteEnumValue("isHttpSecurityHeadersXContentTypeOptions", IsHttpSecurityHeadersXContentTypeOptions); + writer.WriteEnumValue("isHttpSecurityHeadersXFrameOptions", IsHttpSecurityHeadersXFrameOptions); + writer.WriteEnumValue("isHttpSecurityHeadersXXssProtection", IsHttpSecurityHeadersXXssProtection); + writer.WriteEnumValue("isIpAddressRestriction", IsIpAddressRestriction); + writer.WriteEnumValue("isIsae3402Compliant", IsIsae3402Compliant); + writer.WriteEnumValue("isIso27001Compliant", IsIso27001Compliant); + writer.WriteEnumValue("isIso27017Compliant", IsIso27017Compliant); + writer.WriteEnumValue("isIso27018Compliant", IsIso27018Compliant); + writer.WriteEnumValue("isItarCompliant", IsItarCompliant); + writer.WriteEnumValue("isMultiFactorAuthentication", IsMultiFactorAuthentication); + writer.WriteEnumValue("isPasswordPolicy", IsPasswordPolicy); + writer.WriteEnumValue("isPasswordPolicyChangePasswordPeriod", IsPasswordPolicyChangePasswordPeriod); + writer.WriteEnumValue("isPasswordPolicyCharacterCombination", IsPasswordPolicyCharacterCombination); + writer.WriteEnumValue("isPasswordPolicyPasswordHistoryAndReuse", IsPasswordPolicyPasswordHistoryAndReuse); + writer.WriteEnumValue("isPasswordPolicyPasswordLengthLimit", IsPasswordPolicyPasswordLengthLimit); + writer.WriteEnumValue("isPasswordPolicyPersonalInformationUse", IsPasswordPolicyPersonalInformationUse); + writer.WriteEnumValue("isPenetrationTesting", IsPenetrationTesting); + writer.WriteEnumValue("isPrivacyShieldCompliant", IsPrivacyShieldCompliant); + writer.WriteEnumValue("isRememberPassword", IsRememberPassword); + writer.WriteEnumValue("isRequiresUserAuthentication", IsRequiresUserAuthentication); + writer.WriteEnumValue("isSoc1Compliant", IsSoc1Compliant); + writer.WriteEnumValue("isSoc2Compliant", IsSoc2Compliant); + writer.WriteEnumValue("isSoc3Compliant", IsSoc3Compliant); + writer.WriteEnumValue("isSoxCompliant", IsSoxCompliant); + writer.WriteEnumValue("isSp80053Compliant", IsSp80053Compliant); + writer.WriteEnumValue("isSsae16Compliant", IsSsae16Compliant); + writer.WriteEnumValue("isSupportsSaml", IsSupportsSaml); + writer.WriteEnumValue("isTrustedCertificate", IsTrustedCertificate); + writer.WriteEnumValue("isUserAuditTrail", IsUserAuditTrail); + writer.WriteEnumValue("isUserCanUploadData", IsUserCanUploadData); + writer.WriteEnumValue("isUserRolesSupport", IsUserRolesSupport); + writer.WriteEnumValue("isValidCertificateName", IsValidCertificateName); + writer.WriteDateTimeOffsetValue("latestBreachDateTime", LatestBreachDateTime); + writer.WriteStringValue("logonUrls", LogonUrls); + writer.WriteEnumValue("pciDssVersion", PciDssVersion); + writer.WriteStringValue("vendor", Vendor); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppUser.cs b/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppUser.cs new file mode 100644 index 00000000000..a49fcbf2184 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DiscoveredCloudAppUser.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DiscoveredCloudAppUser : 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 identifier of a user who accessed the discovered cloud app. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserIdentifier + { + get { return BackingStore?.Get("userIdentifier"); } + set { BackingStore?.Set("userIdentifier", value); } + } +#nullable restore +#else + public string UserIdentifier + { + get { return BackingStore?.Get("userIdentifier"); } + set { BackingStore?.Set("userIdentifier", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DiscoveredCloudAppUser() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppUser CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppUser(); + } + /// + /// 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(); } }, + { "userIdentifier", n => { UserIdentifier = 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("userIdentifier", UserIdentifier); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/EndpointDiscoveredCloudAppDetail.cs b/src/Microsoft.Graph/Generated/Models/Security/EndpointDiscoveredCloudAppDetail.cs new file mode 100644 index 00000000000..3aa36df698a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/EndpointDiscoveredCloudAppDetail.cs @@ -0,0 +1,72 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EndpointDiscoveredCloudAppDetail : global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppDetail, IParsable + #pragma warning restore CS1591 + { + /// The number of devices that accessed the discovered app. + public long? DeviceCount + { + get { return BackingStore?.Get("deviceCount"); } + set { BackingStore?.Set("deviceCount", value); } + } + /// Represents the devices that access the discovered apps. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Devices + { + get { return BackingStore?.Get?>("devices"); } + set { BackingStore?.Set("devices", value); } + } +#nullable restore +#else + public List Devices + { + get { return BackingStore?.Get>("devices"); } + set { BackingStore?.Set("devices", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.EndpointDiscoveredCloudAppDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.EndpointDiscoveredCloudAppDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "deviceCount", n => { DeviceCount = n.GetLongValue(); } }, + { "devices", n => { Devices = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppDevice.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.WriteLongValue("deviceCount", DeviceCount); + writer.WriteCollectionOfObjectValues("devices", Devices); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/EntityType.cs b/src/Microsoft.Graph/Generated/Models/Security/EntityType.cs new file mode 100644 index 00000000000..fec69ce8c43 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/EntityType.cs @@ -0,0 +1,36 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum EntityType + #pragma warning restore CS1591 + { + [EnumMember(Value = "userName")] + #pragma warning disable CS1591 + UserName, + #pragma warning restore CS1591 + [EnumMember(Value = "ipAddress")] + #pragma warning disable CS1591 + IpAddress, + #pragma warning restore CS1591 + [EnumMember(Value = "machineName")] + #pragma warning disable CS1591 + MachineName, + #pragma warning restore CS1591 + [EnumMember(Value = "other")] + #pragma warning disable CS1591 + Other, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/LogDataProvider.cs b/src/Microsoft.Graph/Generated/Models/Security/LogDataProvider.cs new file mode 100644 index 00000000000..0f5479e941d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/LogDataProvider.cs @@ -0,0 +1,240 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LogDataProvider + #pragma warning restore CS1591 + { + [EnumMember(Value = "barracuda")] + #pragma warning disable CS1591 + Barracuda, + #pragma warning restore CS1591 + [EnumMember(Value = "bluecoat")] + #pragma warning disable CS1591 + Bluecoat, + #pragma warning restore CS1591 + [EnumMember(Value = "checkpoint")] + #pragma warning disable CS1591 + Checkpoint, + #pragma warning restore CS1591 + [EnumMember(Value = "ciscoAsa")] + #pragma warning disable CS1591 + CiscoAsa, + #pragma warning restore CS1591 + [EnumMember(Value = "ciscoIronportProxy")] + #pragma warning disable CS1591 + CiscoIronportProxy, + #pragma warning restore CS1591 + [EnumMember(Value = "fortigate")] + #pragma warning disable CS1591 + Fortigate, + #pragma warning restore CS1591 + [EnumMember(Value = "paloAlto")] + #pragma warning disable CS1591 + PaloAlto, + #pragma warning restore CS1591 + [EnumMember(Value = "squid")] + #pragma warning disable CS1591 + Squid, + #pragma warning restore CS1591 + [EnumMember(Value = "zscaler")] + #pragma warning disable CS1591 + Zscaler, + #pragma warning restore CS1591 + [EnumMember(Value = "mcafeeSwg")] + #pragma warning disable CS1591 + McafeeSwg, + #pragma warning restore CS1591 + [EnumMember(Value = "ciscoScanSafe")] + #pragma warning disable CS1591 + CiscoScanSafe, + #pragma warning restore CS1591 + [EnumMember(Value = "juniperSrx")] + #pragma warning disable CS1591 + JuniperSrx, + #pragma warning restore CS1591 + [EnumMember(Value = "sophosSg")] + #pragma warning disable CS1591 + SophosSg, + #pragma warning restore CS1591 + [EnumMember(Value = "websenseV75")] + #pragma warning disable CS1591 + WebsenseV75, + #pragma warning restore CS1591 + [EnumMember(Value = "websenseSiemCef")] + #pragma warning disable CS1591 + WebsenseSiemCef, + #pragma warning restore CS1591 + [EnumMember(Value = "machineZoneMeraki")] + #pragma warning disable CS1591 + MachineZoneMeraki, + #pragma warning restore CS1591 + [EnumMember(Value = "squidNative")] + #pragma warning disable CS1591 + SquidNative, + #pragma warning restore CS1591 + [EnumMember(Value = "ciscoFwsm")] + #pragma warning disable CS1591 + CiscoFwsm, + #pragma warning restore CS1591 + [EnumMember(Value = "microsoftIsaW3C")] + #pragma warning disable CS1591 + MicrosoftIsaW3C, + #pragma warning restore CS1591 + [EnumMember(Value = "sonicwall")] + #pragma warning disable CS1591 + Sonicwall, + #pragma warning restore CS1591 + [EnumMember(Value = "sophosCyberoam")] + #pragma warning disable CS1591 + SophosCyberoam, + #pragma warning restore CS1591 + [EnumMember(Value = "clavister")] + #pragma warning disable CS1591 + Clavister, + #pragma warning restore CS1591 + [EnumMember(Value = "customParser")] + #pragma warning disable CS1591 + CustomParser, + #pragma warning restore CS1591 + [EnumMember(Value = "juniperSsg")] + #pragma warning disable CS1591 + JuniperSsg, + #pragma warning restore CS1591 + [EnumMember(Value = "zscalerQradar")] + #pragma warning disable CS1591 + ZscalerQradar, + #pragma warning restore CS1591 + [EnumMember(Value = "juniperSrxSd")] + #pragma warning disable CS1591 + JuniperSrxSd, + #pragma warning restore CS1591 + [EnumMember(Value = "juniperSrxWelf")] + #pragma warning disable CS1591 + JuniperSrxWelf, + #pragma warning restore CS1591 + [EnumMember(Value = "microsoftConditionalAppAccess")] + #pragma warning disable CS1591 + MicrosoftConditionalAppAccess, + #pragma warning restore CS1591 + [EnumMember(Value = "ciscoAsaFirepower")] + #pragma warning disable CS1591 + CiscoAsaFirepower, + #pragma warning restore CS1591 + [EnumMember(Value = "genericCef")] + #pragma warning disable CS1591 + GenericCef, + #pragma warning restore CS1591 + [EnumMember(Value = "genericLeef")] + #pragma warning disable CS1591 + GenericLeef, + #pragma warning restore CS1591 + [EnumMember(Value = "genericW3C")] + #pragma warning disable CS1591 + GenericW3C, + #pragma warning restore CS1591 + [EnumMember(Value = "iFilter")] + #pragma warning disable CS1591 + IFilter, + #pragma warning restore CS1591 + [EnumMember(Value = "checkpointXml")] + #pragma warning disable CS1591 + CheckpointXml, + #pragma warning restore CS1591 + [EnumMember(Value = "checkpointSmartViewTracker")] + #pragma warning disable CS1591 + CheckpointSmartViewTracker, + #pragma warning restore CS1591 + [EnumMember(Value = "barracudaNextGenFw")] + #pragma warning disable CS1591 + BarracudaNextGenFw, + #pragma warning restore CS1591 + [EnumMember(Value = "barracudaNextGenFwWeblog")] + #pragma warning disable CS1591 + BarracudaNextGenFwWeblog, + #pragma warning restore CS1591 + [EnumMember(Value = "microsoftDefenderForEndpoint")] + #pragma warning disable CS1591 + MicrosoftDefenderForEndpoint, + #pragma warning restore CS1591 + [EnumMember(Value = "zscalerCef")] + #pragma warning disable CS1591 + ZscalerCef, + #pragma warning restore CS1591 + [EnumMember(Value = "sophosXg")] + #pragma warning disable CS1591 + SophosXg, + #pragma warning restore CS1591 + [EnumMember(Value = "iboss")] + #pragma warning disable CS1591 + Iboss, + #pragma warning restore CS1591 + [EnumMember(Value = "forcepoint")] + #pragma warning disable CS1591 + Forcepoint, + #pragma warning restore CS1591 + [EnumMember(Value = "fortios")] + #pragma warning disable CS1591 + Fortios, + #pragma warning restore CS1591 + [EnumMember(Value = "ciscoIronportWsaIi")] + #pragma warning disable CS1591 + CiscoIronportWsaIi, + #pragma warning restore CS1591 + [EnumMember(Value = "paloAltoLeef")] + #pragma warning disable CS1591 + PaloAltoLeef, + #pragma warning restore CS1591 + [EnumMember(Value = "forcepointLeef")] + #pragma warning disable CS1591 + ForcepointLeef, + #pragma warning restore CS1591 + [EnumMember(Value = "stormshield")] + #pragma warning disable CS1591 + Stormshield, + #pragma warning restore CS1591 + [EnumMember(Value = "contentkeeper")] + #pragma warning disable CS1591 + Contentkeeper, + #pragma warning restore CS1591 + [EnumMember(Value = "ciscoIronportWsaIii")] + #pragma warning disable CS1591 + CiscoIronportWsaIii, + #pragma warning restore CS1591 + [EnumMember(Value = "checkpointCef")] + #pragma warning disable CS1591 + CheckpointCef, + #pragma warning restore CS1591 + [EnumMember(Value = "corrata")] + #pragma warning disable CS1591 + Corrata, + #pragma warning restore CS1591 + [EnumMember(Value = "ciscoFirepowerV6")] + #pragma warning disable CS1591 + CiscoFirepowerV6, + #pragma warning restore CS1591 + [EnumMember(Value = "menloSecurityCef")] + #pragma warning disable CS1591 + MenloSecurityCef, + #pragma warning restore CS1591 + [EnumMember(Value = "watchguardXtm")] + #pragma warning disable CS1591 + WatchguardXtm, + #pragma warning restore CS1591 + [EnumMember(Value = "openSystemsSecureWebGateway")] + #pragma warning disable CS1591 + OpenSystemsSecureWebGateway, + #pragma warning restore CS1591 + [EnumMember(Value = "wandera")] + #pragma warning disable CS1591 + Wandera, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/ReceiverProtocol.cs b/src/Microsoft.Graph/Generated/Models/Security/ReceiverProtocol.cs new file mode 100644 index 00000000000..60b227e8a86 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/ReceiverProtocol.cs @@ -0,0 +1,36 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ReceiverProtocol + #pragma warning restore CS1591 + { + [EnumMember(Value = "ftp")] + #pragma warning disable CS1591 + Ftp, + #pragma warning restore CS1591 + [EnumMember(Value = "ftps")] + #pragma warning disable CS1591 + Ftps, + #pragma warning restore CS1591 + [EnumMember(Value = "syslogUdp")] + #pragma warning disable CS1591 + SyslogUdp, + #pragma warning restore CS1591 + [EnumMember(Value = "syslogTcp")] + #pragma warning disable CS1591 + SyslogTcp, + #pragma warning restore CS1591 + [EnumMember(Value = "syslogTls")] + #pragma warning disable CS1591 + SyslogTls, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/TrafficType.cs b/src/Microsoft.Graph/Generated/Models/Security/TrafficType.cs new file mode 100644 index 00000000000..a7c0e90bf0c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/TrafficType.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum TrafficType + #pragma warning restore CS1591 + { + [EnumMember(Value = "downloadedBytes")] + #pragma warning disable CS1591 + DownloadedBytes, + #pragma warning restore CS1591 + [EnumMember(Value = "uploadedBytes")] + #pragma warning disable CS1591 + UploadedBytes, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ServiceHostedMediaConfig.cs b/src/Microsoft.Graph/Generated/Models/ServiceHostedMediaConfig.cs index 8ab1b94298d..fc075a735d7 100644 --- a/src/Microsoft.Graph/Generated/Models/ServiceHostedMediaConfig.cs +++ b/src/Microsoft.Graph/Generated/Models/ServiceHostedMediaConfig.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Beta.Models public partial class ServiceHostedMediaConfig : global::Microsoft.Graph.Beta.Models.MediaConfig, IParsable #pragma warning restore CS1591 { + /// The liveCaptionOptions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.LiveCaptionOptions? LiveCaptionOptions + { + get { return BackingStore?.Get("liveCaptionOptions"); } + set { BackingStore?.Set("liveCaptionOptions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.LiveCaptionOptions LiveCaptionOptions + { + get { return BackingStore?.Get("liveCaptionOptions"); } + set { BackingStore?.Set("liveCaptionOptions", value); } + } +#endif /// The list of media to prefetch. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -53,6 +69,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "liveCaptionOptions", n => { LiveCaptionOptions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.LiveCaptionOptions.CreateFromDiscriminatorValue); } }, { "preFetchMedia", n => { PreFetchMedia = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MediaInfo.CreateFromDiscriminatorValue)?.AsList(); } }, }; } @@ -64,6 +81,7 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("liveCaptionOptions", LiveCaptionOptions); writer.WriteCollectionOfObjectValues("preFetchMedia", PreFetchMedia); } } diff --git a/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs b/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs index 8b7d7c92036..255f62a3f60 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs @@ -28,7 +28,7 @@ public partial class SharePointRestoreSession : global::Microsoft.Graph.Beta.Mod set { BackingStore?.Set("siteRestoreArtifacts", value); } } #endif - /// The siteRestoreArtifactsBulkAdditionRequests property + /// A collection of SharePoint site URLs and destination details that can be used to restore SharePoint sites. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SiteRestoreArtifactsBulkAdditionRequests diff --git a/src/Microsoft.Graph/Generated/Models/SiteRestoreArtifactsBulkAdditionRequest.cs b/src/Microsoft.Graph/Generated/Models/SiteRestoreArtifactsBulkAdditionRequest.cs index 00c55366b3b..baf9a246415 100644 --- a/src/Microsoft.Graph/Generated/Models/SiteRestoreArtifactsBulkAdditionRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/SiteRestoreArtifactsBulkAdditionRequest.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class SiteRestoreArtifactsBulkAdditionRequest : global::Microsoft.Graph.Beta.Models.RestoreArtifactsBulkRequestBase, IParsable #pragma warning restore CS1591 { - /// The siteIds property + /// The list of SharePoint site IDs that are added to the corresponding SharePoint restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SiteIds @@ -28,7 +28,7 @@ public List SiteIds set { BackingStore?.Set("siteIds", value); } } #endif - /// The siteWebUrls property + /// The list of SharePoint site URLs that are added to the corresponding SharePoint restore session in a bulk operation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SiteWebUrls diff --git a/src/Microsoft.Graph/Generated/Models/Template.cs b/src/Microsoft.Graph/Generated/Models/Template.cs new file mode 100644 index 00000000000..c7444f0a130 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Template.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Template : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The deviceTemplates property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DeviceTemplates + { + get { return BackingStore?.Get?>("deviceTemplates"); } + set { BackingStore?.Set("deviceTemplates", value); } + } +#nullable restore +#else + public List DeviceTemplates + { + get { return BackingStore?.Get>("deviceTemplates"); } + set { BackingStore?.Set("deviceTemplates", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Template CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Template(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "deviceTemplates", n => { DeviceTemplates = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DeviceTemplate.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("deviceTemplates", DeviceTemplates); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TlsClientRegistrationMetadata.cs b/src/Microsoft.Graph/Generated/Models/TlsClientRegistrationMetadata.cs new file mode 100644 index 00000000000..924b2650178 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TlsClientRegistrationMetadata.cs @@ -0,0 +1,36 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum TlsClientRegistrationMetadata + #pragma warning restore CS1591 + { + [EnumMember(Value = "tls_client_auth_subject_dn")] + #pragma warning disable CS1591 + Tls_client_auth_subject_dn, + #pragma warning restore CS1591 + [EnumMember(Value = "tls_client_auth_san_dns")] + #pragma warning disable CS1591 + Tls_client_auth_san_dns, + #pragma warning restore CS1591 + [EnumMember(Value = "tls_client_auth_san_uri")] + #pragma warning disable CS1591 + Tls_client_auth_san_uri, + #pragma warning restore CS1591 + [EnumMember(Value = "tls_client_auth_san_ip")] + #pragma warning disable CS1591 + Tls_client_auth_san_ip, + #pragma warning restore CS1591 + [EnumMember(Value = "tls_client_auth_san_email")] + #pragma warning disable CS1591 + Tls_client_auth_san_email, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TrustedCertificateAuthorityBase.cs b/src/Microsoft.Graph/Generated/Models/TrustedCertificateAuthorityBase.cs new file mode 100644 index 00000000000..2dada55de43 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TrustedCertificateAuthorityBase.cs @@ -0,0 +1,76 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TrustedCertificateAuthorityBase : global::Microsoft.Graph.Beta.Models.DirectoryObject, IParsable + #pragma warning restore CS1591 + { + /// The certificateAuthorities property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CertificateAuthorities + { + get { return BackingStore?.Get?>("certificateAuthorities"); } + set { BackingStore?.Set("certificateAuthorities", value); } + } +#nullable restore +#else + public List CertificateAuthorities + { + get { return BackingStore?.Get>("certificateAuthorities"); } + set { BackingStore?.Set("certificateAuthorities", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TrustedCertificateAuthorityBase() : base() + { + OdataType = "#microsoft.graph.trustedCertificateAuthorityBase"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.TrustedCertificateAuthorityBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.mutualTlsOauthConfiguration" => new global::Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration(), + _ => new global::Microsoft.Graph.Beta.Models.TrustedCertificateAuthorityBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "certificateAuthorities", n => { CertificateAuthorities = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CertificateAuthority.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("certificateAuthorities", CertificateAuthorities); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UpdateAllMessagesReadStateOperation.cs b/src/Microsoft.Graph/Generated/Models/UpdateAllMessagesReadStateOperation.cs new file mode 100644 index 00000000000..b5cf8278e01 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UpdateAllMessagesReadStateOperation.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UpdateAllMessagesReadStateOperation : global::Microsoft.Graph.Beta.Models.MailFolderOperation, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.UpdateAllMessagesReadStateOperation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.UpdateAllMessagesReadStateOperation(); + } + /// + /// 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/VirtualEvent.cs b/src/Microsoft.Graph/Generated/Models/VirtualEvent.cs index 466b2429e07..e7a170eee39 100644 --- a/src/Microsoft.Graph/Generated/Models/VirtualEvent.cs +++ b/src/Microsoft.Graph/Generated/Models/VirtualEvent.cs @@ -75,6 +75,22 @@ public string DisplayName get { return BackingStore?.Get("endDateTime"); } set { BackingStore?.Set("endDateTime", value); } } +#endif + /// The external information of a virtual event. Returned only for event organizers or coorganizers; otherwise, null. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExternalEventInformation + { + get { return BackingStore?.Get?>("externalEventInformation"); } + set { BackingStore?.Set("externalEventInformation", value); } + } +#nullable restore +#else + public List ExternalEventInformation + { + get { return BackingStore?.Get>("externalEventInformation"); } + set { BackingStore?.Set("externalEventInformation", value); } + } #endif /// The virtual event presenters. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -174,6 +190,7 @@ public override IDictionary> GetFieldDeserializers() { "description", n => { Description = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ItemBody.CreateFromDiscriminatorValue); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "endDateTime", n => { EndDateTime = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + { "externalEventInformation", n => { ExternalEventInformation = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.VirtualEventExternalInformation.CreateFromDiscriminatorValue)?.AsList(); } }, { "presenters", n => { Presenters = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.VirtualEventPresenter.CreateFromDiscriminatorValue)?.AsList(); } }, { "sessions", n => { Sessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.VirtualEventSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.VirtualEventSettings.CreateFromDiscriminatorValue); } }, @@ -193,6 +210,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("description", Description); writer.WriteStringValue("displayName", DisplayName); writer.WriteObjectValue("endDateTime", EndDateTime); + writer.WriteCollectionOfObjectValues("externalEventInformation", ExternalEventInformation); writer.WriteCollectionOfObjectValues("presenters", Presenters); writer.WriteCollectionOfObjectValues("sessions", Sessions); writer.WriteObjectValue("settings", Settings); diff --git a/src/Microsoft.Graph/Generated/Models/VirtualEventExternalInformation.cs b/src/Microsoft.Graph/Generated/Models/VirtualEventExternalInformation.cs new file mode 100644 index 00000000000..e6170d1439b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VirtualEventExternalInformation.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class VirtualEventExternalInformation : 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); } + } + /// Identifier of the application that hosts the externalEventId. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ApplicationId + { + get { return BackingStore?.Get("applicationId"); } + set { BackingStore?.Set("applicationId", value); } + } +#nullable restore +#else + public string ApplicationId + { + get { return BackingStore?.Get("applicationId"); } + set { BackingStore?.Set("applicationId", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The identifier for a virtualEventExternalInformation object that associates the virtual event with an event ID in an external application. This association bundles all the information (both supported and not supported in virtualEvent) into one virtual event object. Optional. If set, the maximum supported length is 256 characters. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExternalEventId + { + get { return BackingStore?.Get("externalEventId"); } + set { BackingStore?.Set("externalEventId", value); } + } +#nullable restore +#else + public string ExternalEventId + { + get { return BackingStore?.Get("externalEventId"); } + set { BackingStore?.Set("externalEventId", 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 VirtualEventExternalInformation() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.VirtualEventExternalInformation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.VirtualEventExternalInformation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "applicationId", n => { ApplicationId = n.GetStringValue(); } }, + { "externalEventId", n => { ExternalEventId = 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("applicationId", ApplicationId); + writer.WriteStringValue("externalEventId", ExternalEventId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VirtualEventExternalRegistrationInformation.cs b/src/Microsoft.Graph/Generated/Models/VirtualEventExternalRegistrationInformation.cs new file mode 100644 index 00000000000..ba9cb15e36d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VirtualEventExternalRegistrationInformation.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class VirtualEventExternalRegistrationInformation : 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 URL or string that represents the location from which the registrant registered. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Referrer + { + get { return BackingStore?.Get("referrer"); } + set { BackingStore?.Set("referrer", value); } + } +#nullable restore +#else + public string Referrer + { + get { return BackingStore?.Get("referrer"); } + set { BackingStore?.Set("referrer", value); } + } +#endif + /// The identifier for a virtualEventExternalRegistrationInformation object. Optional. If set, the maximum supported length is 256 characters. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RegistrationId + { + get { return BackingStore?.Get("registrationId"); } + set { BackingStore?.Set("registrationId", value); } + } +#nullable restore +#else + public string RegistrationId + { + get { return BackingStore?.Get("registrationId"); } + set { BackingStore?.Set("registrationId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public VirtualEventExternalRegistrationInformation() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.VirtualEventExternalRegistrationInformation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.VirtualEventExternalRegistrationInformation(); + } + /// + /// 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(); } }, + { "referrer", n => { Referrer = n.GetStringValue(); } }, + { "registrationId", n => { RegistrationId = 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("referrer", Referrer); + writer.WriteStringValue("registrationId", RegistrationId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VirtualEventRegistration.cs b/src/Microsoft.Graph/Generated/Models/VirtualEventRegistration.cs index f58db50ba58..0f62635024e 100644 --- a/src/Microsoft.Graph/Generated/Models/VirtualEventRegistration.cs +++ b/src/Microsoft.Graph/Generated/Models/VirtualEventRegistration.cs @@ -33,6 +33,22 @@ public string Email get { return BackingStore?.Get("email"); } set { BackingStore?.Set("email", value); } } +#endif + /// The external information for a virtual event registration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.VirtualEventExternalRegistrationInformation? ExternalRegistrationInformation + { + get { return BackingStore?.Get("externalRegistrationInformation"); } + set { BackingStore?.Set("externalRegistrationInformation", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.VirtualEventExternalRegistrationInformation ExternalRegistrationInformation + { + get { return BackingStore?.Get("externalRegistrationInformation"); } + set { BackingStore?.Set("externalRegistrationInformation", value); } + } #endif /// First name of the registrant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -178,6 +194,7 @@ public override IDictionary> GetFieldDeserializers() { { "cancelationDateTime", n => { CancelationDateTime = n.GetDateTimeOffsetValue(); } }, { "email", n => { Email = n.GetStringValue(); } }, + { "externalRegistrationInformation", n => { ExternalRegistrationInformation = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.VirtualEventExternalRegistrationInformation.CreateFromDiscriminatorValue); } }, { "firstName", n => { FirstName = n.GetStringValue(); } }, { "lastName", n => { LastName = n.GetStringValue(); } }, { "preferredLanguage", n => { PreferredLanguage = n.GetStringValue(); } }, @@ -199,6 +216,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteDateTimeOffsetValue("cancelationDateTime", CancelationDateTime); writer.WriteStringValue("email", Email); + writer.WriteObjectValue("externalRegistrationInformation", ExternalRegistrationInformation); writer.WriteStringValue("firstName", FirstName); writer.WriteStringValue("lastName", LastName); writer.WriteStringValue("preferredLanguage", PreferredLanguage); diff --git a/src/Microsoft.Graph/Generated/Models/WafAllowedHeadersDictionary.cs b/src/Microsoft.Graph/Generated/Models/WafAllowedHeadersDictionary.cs new file mode 100644 index 00000000000..ea3bec5a500 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WafAllowedHeadersDictionary.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WafAllowedHeadersDictionary : global::Microsoft.Graph.Beta.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.Beta.Models.WafAllowedHeadersDictionary CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WafAllowedHeadersDictionary(); + } + /// + /// 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/WindowsAppXAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs index b88049f2998..2a1c0c90472 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WindowsAppXAppAssignmentSettings : global::Microsoft.Graph.Beta.Models.MobileAppAssignmentSettings, IParsable { - /// Whether or not to use device execution context for Windows AppX mobile app. + /// When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. public bool? UseDeviceContext { get { return BackingStore?.Get("useDeviceContext"); } diff --git a/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs b/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs index 2c70cedc146..553a99d5026 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsDomainJoinConfiguration.cs @@ -51,7 +51,7 @@ public int? ComputerNameSuffixRandomCharCount get { return BackingStore?.Get("computerNameSuffixRandomCharCount"); } set { BackingStore?.Set("computerNameSuffixRandomCharCount", value); } } - /// Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. + /// Reference to device configurations required for network connectivity #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? NetworkAccessConfigurations diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs index 8cc1dab1237..66edc6980bb 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppXAppAssignmentSettings.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WindowsUniversalAppXAppAssignmentSettings : global::Microsoft.Graph.Beta.Models.MobileAppAssignmentSettings, IParsable { - /// If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. + /// Whether or not to use device execution context for Windows Universal AppX mobile app. public bool? UseDeviceContext { get { return BackingStore?.Get("useDeviceContext"); } diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs index 8c88d53f863..d66e0c7208a 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.Beta.Models.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the user synchronization policy of a partner-specific configuration. - /// Find more info here + /// Create a cross-tenant user synchronization policy for a partner-specific configuration. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the user synchronization policy of a partner-specific configuration. + /// Create a cross-tenant user synchronization policy for a partner-specific configuration. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs index 97026ccdf88..4fe750e47cc 100644 --- a/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a federatedTokenValidationPolicy object. - /// Find more info here + /// Get a list of the federatedTokenValidationPolicy objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a federatedTokenValidationPolicy object. + /// Get a list of the federatedTokenValidationPolicy objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -184,7 +184,7 @@ public partial class FederatedTokenValidationPolicyRequestBuilderDeleteRequestCo { } /// - /// Read the properties and relationships of a federatedTokenValidationPolicy object. + /// Get a list of the federatedTokenValidationPolicy objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FederatedTokenValidationPolicyRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs index a087e9f2f6c..d9ed88ea688 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs @@ -54,8 +54,8 @@ public RoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. - /// Find more info here + /// Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -104,7 +104,7 @@ public RoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleAssignmentMultiple.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + /// Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleAssignments.RoleAssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + /// Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RoleAssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/CloudAppDiscoveryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/CloudAppDiscoveryRequestBuilder.cs new file mode 100644 index 00000000000..f24764724c1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/CloudAppDiscoveryRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery +{ + /// + /// Provides operations to manage the cloudAppDiscovery property of the microsoft.graph.security.dataDiscoveryRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudAppDiscoveryRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the uploadedStreams property of the microsoft.graph.security.dataDiscoveryReport entity. + public global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.UploadedStreamsRequestBuilder UploadedStreams + { + get => new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.UploadedStreamsRequestBuilder(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 CloudAppDiscoveryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery{?%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 CloudAppDiscoveryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property cloudAppDiscovery for security + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The available entities are IP addresses, devices, and users who access a cloud app. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property cloudAppDiscovery in security + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property cloudAppDiscovery 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; + } + /// + /// The available entities are IP addresses, devices, and users who access a cloud app. + /// + /// A + /// Configuration 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 cloudAppDiscovery in security + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport 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.Beta.Security.DataDiscovery.CloudAppDiscovery.CloudAppDiscoveryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.CloudAppDiscoveryRequestBuilder(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 CloudAppDiscoveryRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The available entities are IP addresses, devices, and users who access a cloud app. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudAppDiscoveryRequestBuilderGetQueryParameters + { + /// 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 CloudAppDiscoveryRequestBuilderGetRequestConfiguration : 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 CloudAppDiscoveryRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..09435616533 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery/uploadedStreams/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery/uploadedStreams/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Item/CloudAppDiscoveryReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Item/CloudAppDiscoveryReportItemRequestBuilder.cs new file mode 100644 index 00000000000..02c5eca3b46 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Item/CloudAppDiscoveryReportItemRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item +{ + /// + /// Provides operations to manage the uploadedStreams property of the microsoft.graph.security.dataDiscoveryReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudAppDiscoveryReportItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CloudAppDiscoveryReportItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery/uploadedStreams/{cloudAppDiscoveryReport%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 CloudAppDiscoveryReportItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery/uploadedStreams/{cloudAppDiscoveryReport%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property uploadedStreams for security + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// A collection of streams available for generating cloud discovery report. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Provides operations to call the aggregatedAppsDetails method. + /// + /// A + /// Usage: period={period} + public global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod(TimeSpan? period) + { + _ = period ?? throw new ArgumentNullException(nameof(period)); + return new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder(PathParameters, RequestAdapter, period); + } + /// + /// Update the navigation property uploadedStreams in security + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property uploadedStreams 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; + } + /// + /// A collection of streams available for generating cloud discovery report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property uploadedStreams in security + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport 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.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder(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 CloudAppDiscoveryReportItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// A collection of streams available for generating cloud discovery report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudAppDiscoveryReportItemRequestBuilderGetQueryParameters + { + /// 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 CloudAppDiscoveryReportItemRequestBuilderGetRequestConfiguration : 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 CloudAppDiscoveryReportItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Item/MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod/AggregatedAppsDetailsWithPeriodGetResponse.cs b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Item/MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod/AggregatedAppsDetailsWithPeriodGetResponse.cs new file mode 100644 index 00000000000..f55e984afee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Item/MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod/AggregatedAppsDetailsWithPeriodGetResponse.cs @@ -0,0 +1,66 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AggregatedAppsDetailsWithPeriodGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.AggregatedAppsDetailsWithPeriodGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.AggregatedAppsDetailsWithPeriodGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppDetail.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/DataDiscovery/CloudAppDiscovery/UploadedStreams/Item/MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod/AggregatedAppsDetailsWithPeriodResponse.cs b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Item/MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod/AggregatedAppsDetailsWithPeriodResponse.cs new file mode 100644 index 00000000000..fe0fabcfcf7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Item/MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod/AggregatedAppsDetailsWithPeriodResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod +{ + [Obsolete("This class is obsolete. Use AggregatedAppsDetailsWithPeriodGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AggregatedAppsDetailsWithPeriodResponse : global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.AggregatedAppsDetailsWithPeriodGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.AggregatedAppsDetailsWithPeriodResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.AggregatedAppsDetailsWithPeriodResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Item/MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod/MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Item/MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod/MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.cs new file mode 100644 index 00000000000..7230b503524 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/Item/MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod/MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod +{ + /// + /// Provides operations to call the aggregatedAppsDetails method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// Usage: period={period} + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, TimeSpan? period = default) : base(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery/uploadedStreams/{cloudAppDiscoveryReport%2Did}/microsoft.graph.security.aggregatedAppsDetails(period={period}){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + if (period != null) PathParameters.Add("period", period); + } + /// + /// 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 MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery/uploadedStreams/{cloudAppDiscoveryReport%2Did}/microsoft.graph.security.aggregatedAppsDetails(period={period}){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function aggregatedAppsDetails + /// + /// 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 GetAsAggregatedAppsDetailsWithPeriodGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsAggregatedAppsDetailsWithPeriodGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.AggregatedAppsDetailsWithPeriodGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function aggregatedAppsDetails + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsAggregatedAppsDetailsWithPeriodGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.AggregatedAppsDetailsWithPeriodResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function aggregatedAppsDetails + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function aggregatedAppsDetails + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters + { + /// 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 MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/UploadedStreamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/UploadedStreamsRequestBuilder.cs new file mode 100644 index 00000000000..628b44fc17b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataDiscovery/CloudAppDiscovery/UploadedStreams/UploadedStreamsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count; +using Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams +{ + /// + /// Provides operations to manage the uploadedStreams property of the microsoft.graph.security.dataDiscoveryReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UploadedStreamsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the uploadedStreams property of the microsoft.graph.security.dataDiscoveryReport entity. + /// The unique identifier of cloudAppDiscoveryReport + /// A + public global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("cloudAppDiscoveryReport%2Did", position); + return new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder(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 UploadedStreamsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery/uploadedStreams{?%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 UploadedStreamsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery/uploadedStreams{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get visibility into all the manually uploaded streams from your firewalls and proxies. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to uploadedStreams for 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 PostAsync(global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get visibility into all the manually uploaded streams from your firewalls and proxies. + /// + /// A + /// Configuration 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 uploadedStreams for 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 ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport 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.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.UploadedStreamsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.UploadedStreamsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get visibility into all the manually uploaded streams from your firewalls and proxies. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UploadedStreamsRequestBuilderGetQueryParameters + { + /// 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 UploadedStreamsRequestBuilderGetRequestConfiguration : 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 UploadedStreamsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/DataDiscovery/DataDiscoveryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/DataDiscovery/DataDiscoveryRequestBuilder.cs new file mode 100644 index 00000000000..cb3f425f577 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/DataDiscovery/DataDiscoveryRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.DataDiscovery +{ + /// + /// Provides operations to manage the dataDiscovery property of the microsoft.graph.security entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DataDiscoveryRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the cloudAppDiscovery property of the microsoft.graph.security.dataDiscoveryRoot entity. + public global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.CloudAppDiscoveryRequestBuilder CloudAppDiscovery + { + get => new global::Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.CloudAppDiscoveryRequestBuilder(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 DataDiscoveryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataDiscovery{?%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 DataDiscoveryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/dataDiscovery{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property dataDiscovery for security + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get dataDiscovery 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property dataDiscovery in security + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property dataDiscovery 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 dataDiscovery 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 dataDiscovery in security + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot 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.Beta.Security.DataDiscovery.DataDiscoveryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.DataDiscovery.DataDiscoveryRequestBuilder(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 DataDiscoveryRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get dataDiscovery from security + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DataDiscoveryRequestBuilderGetQueryParameters + { + /// 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 DataDiscoveryRequestBuilderGetRequestConfiguration : 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 DataDiscoveryRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs index 701853030ba..2c7d9c5f862 100644 --- a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs @@ -9,6 +9,7 @@ using Microsoft.Graph.Beta.Security.Cases; using Microsoft.Graph.Beta.Security.CloudAppSecurityProfiles; using Microsoft.Graph.Beta.Security.Collaboration; +using Microsoft.Graph.Beta.Security.DataDiscovery; using Microsoft.Graph.Beta.Security.DomainSecurityProfiles; using Microsoft.Graph.Beta.Security.FileSecurityProfiles; using Microsoft.Graph.Beta.Security.HostSecurityProfiles; @@ -82,6 +83,11 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Security.Collaboration.CollaborationRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the dataDiscovery property of the microsoft.graph.security entity. + public global::Microsoft.Graph.Beta.Security.DataDiscovery.DataDiscoveryRequestBuilder DataDiscovery + { + get => new global::Microsoft.Graph.Beta.Security.DataDiscovery.DataDiscoveryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the domainSecurityProfiles property of the microsoft.graph.security entity. public global::Microsoft.Graph.Beta.Security.DomainSecurityProfiles.DomainSecurityProfilesRequestBuilder DomainSecurityProfiles { diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs index 2ac15b31834..5718782d0b1 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs @@ -59,8 +59,8 @@ public ClaimsPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomClaimsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update a customClaimsPolicy object. - /// Find more info here + /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + /// Find more info here /// /// A /// The request body @@ -85,8 +85,8 @@ public ClaimsPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomClaimsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update a customClaimsPolicy object. - /// Find more info here + /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + /// Find more info here /// /// A /// The request body @@ -130,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update a customClaimsPolicy object. + /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. /// /// A /// The request body @@ -152,7 +152,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta return requestInfo; } /// - /// Update a customClaimsPolicy object. + /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. /// /// 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 523ec15f36e..25cedb37a9b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -117,8 +117,8 @@ public async Task DeleteAsync(Action - /// Return the metadata for a list. - /// Find more info here + /// Get the list of richLongRunningOperations associated with a list. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -185,7 +185,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Return the metadata for a list. + /// Get the list of richLongRunningOperations associated with a list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +243,7 @@ public partial class ListItemRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Return the metadata for a list. + /// Get the list of richLongRunningOperations associated with a list. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ListItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs index 92dac91f651..d0e588dfc9d 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.Beta.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/Solutions/BackupRestore/ExchangeRestoreSessions/Item/MailboxRestoreArtifactsBulkAdditionRequests/Item/MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ExchangeRestoreSessions/Item/MailboxRestoreArtifactsBulkAdditionRequests/Item/MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.cs index 1ec4d3a6bca..3644f45055e 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ExchangeRestoreSessions/Item/MailboxRestoreArtifactsBulkAdditionRequests/Item/MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ExchangeRestoreSessions/Item/MailboxRestoreArtifactsBulkAdditionRequests/Item/MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder.cs @@ -35,7 +35,8 @@ public MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder(string rawUr { } /// - /// Delete navigation property mailboxRestoreArtifactsBulkAdditionRequests for solutions + /// Delete a mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +58,8 @@ public async Task DeleteAsync(Action - /// Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + /// Get a mailboxRestoreArtifactsBulkAdditionRequest object by its id, associated with an exchangeRestoreSession. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -105,7 +107,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxRestoreArtifactsBulkAdditionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property mailboxRestoreArtifactsBulkAdditionRequests for solutions + /// Delete a mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -124,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + /// Get a mailboxRestoreArtifactsBulkAdditionRequest object by its id, associated with an exchangeRestoreSession. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +184,7 @@ public partial class MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilde { } /// - /// Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + /// Get a mailboxRestoreArtifactsBulkAdditionRequest object by its id, associated with an exchangeRestoreSession. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ExchangeRestoreSessions/Item/MailboxRestoreArtifactsBulkAdditionRequests/MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ExchangeRestoreSessions/Item/MailboxRestoreArtifactsBulkAdditionRequests/MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.cs index 93b163ae93d..41edc68c65b 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ExchangeRestoreSessions/Item/MailboxRestoreArtifactsBulkAdditionRequests/MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ExchangeRestoreSessions/Item/MailboxRestoreArtifactsBulkAdditionRequests/MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder.cs @@ -54,7 +54,8 @@ public MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(string rawUrl, { } /// - /// Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + /// Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +78,8 @@ public MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(string rawUrl, return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new navigation property to mailboxRestoreArtifactsBulkAdditionRequests for solutions + /// Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The initial status upon creation of the restore session is active. When all the mailboxes are added to the corresponding Exchange restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. + /// Find more info here /// /// A /// The request body @@ -102,7 +104,7 @@ public MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(string rawUrl, return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxRestoreArtifactsBulkAdditionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + /// Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -121,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to mailboxRestoreArtifactsBulkAdditionRequests for solutions + /// Create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The initial status upon creation of the restore session is active. When all the mailboxes are added to the corresponding Exchange restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. /// /// A /// The request body @@ -152,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeRestoreSessions.Item.MailboxRestoreArtifactsBulkAdditionRequests.MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get mailboxRestoreArtifactsBulkAdditionRequests from solutions + /// Get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/DriveRestoreArtifacts/Item/DriveRestoreArtifactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/DriveRestoreArtifacts/Item/DriveRestoreArtifactItemRequestBuilder.cs index 70f9ab11f29..f3602ea339c 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/DriveRestoreArtifacts/Item/DriveRestoreArtifactItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/DriveRestoreArtifacts/Item/DriveRestoreArtifactItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// A collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. + /// A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// A collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. + /// A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class DriveRestoreArtifactItemRequestBuilderDeleteRequestConfigur { } /// - /// A collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. + /// A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DriveRestoreArtifactItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/DriveRestoreArtifactsBulkAdditionRequests/DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/DriveRestoreArtifactsBulkAdditionRequests/DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.cs index bd22e495127..f4eefd31fe8 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/DriveRestoreArtifactsBulkAdditionRequests/DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/DriveRestoreArtifactsBulkAdditionRequests/DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder.cs @@ -54,7 +54,8 @@ public DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(string rawUrl, IR { } /// - /// Get driveRestoreArtifactsBulkAdditionRequests from solutions + /// Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +78,8 @@ public DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(string rawUrl, IR return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DriveRestoreArtifactsBulkAdditionRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new navigation property to driveRestoreArtifactsBulkAdditionRequests for solutions + /// Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The initial status upon creation of the restore session is active. When all the drives are added to the corresponding OneDrive restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. + /// Find more info here /// /// A /// The request body @@ -102,7 +104,7 @@ public DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(string rawUrl, IR return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DriveRestoreArtifactsBulkAdditionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get driveRestoreArtifactsBulkAdditionRequests from solutions + /// Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -121,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to driveRestoreArtifactsBulkAdditionRequests for solutions + /// Create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The initial status upon creation of the restore session is active. When all the drives are added to the corresponding OneDrive restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. /// /// A /// The request body @@ -152,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get driveRestoreArtifactsBulkAdditionRequests from solutions + /// Get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/DriveRestoreArtifactsBulkAdditionRequests/Item/DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/DriveRestoreArtifactsBulkAdditionRequests/Item/DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.cs index f8bd4913f0e..707ce7f2fe1 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/DriveRestoreArtifactsBulkAdditionRequests/Item/DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/DriveRestoreArtifactsBulkAdditionRequests/Item/DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder.cs @@ -35,7 +35,8 @@ public DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder(string rawUrl, { } /// - /// Delete navigation property driveRestoreArtifactsBulkAdditionRequests for solutions + /// Delete a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +58,8 @@ public async Task DeleteAsync(Action - /// Get driveRestoreArtifactsBulkAdditionRequests from solutions + /// Get a driveRestoreArtifactsBulkAdditionRequest object by its id, associated with a oneDriveForBusinessRestoreSession. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -105,7 +107,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.DriveRestoreArtifactsBulkAdditionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property driveRestoreArtifactsBulkAdditionRequests for solutions + /// Delete a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -124,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get driveRestoreArtifactsBulkAdditionRequests from solutions + /// Get a driveRestoreArtifactsBulkAdditionRequest object by its id, associated with a oneDriveForBusinessRestoreSession. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +184,7 @@ public partial class DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderD { } /// - /// Get driveRestoreArtifactsBulkAdditionRequests from solutions + /// Get a driveRestoreArtifactsBulkAdditionRequest object by its id, associated with a oneDriveForBusinessRestoreSession. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SiteRestoreArtifactsBulkAdditionRequests/Item/SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SiteRestoreArtifactsBulkAdditionRequests/Item/SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.cs index ccb74bd120a..067b9b4014a 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SiteRestoreArtifactsBulkAdditionRequests/Item/SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SiteRestoreArtifactsBulkAdditionRequests/Item/SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder.cs @@ -35,7 +35,8 @@ public SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder(string rawUrl, { } /// - /// Delete navigation property siteRestoreArtifactsBulkAdditionRequests for solutions + /// Delete a siteRestoreArtifactsBulkAdditionRequest object associated with a sharepointRestoreSession. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +58,8 @@ public async Task DeleteAsync(Action - /// Get siteRestoreArtifactsBulkAdditionRequests from solutions + /// Get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -105,7 +107,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.SiteRestoreArtifactsBulkAdditionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property siteRestoreArtifactsBulkAdditionRequests for solutions + /// Delete a siteRestoreArtifactsBulkAdditionRequest object associated with a sharepointRestoreSession. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -124,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get siteRestoreArtifactsBulkAdditionRequests from solutions + /// Get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +184,7 @@ public partial class SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderDe { } /// - /// Get siteRestoreArtifactsBulkAdditionRequests from solutions + /// Get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SiteRestoreArtifactsBulkAdditionRequests/SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SiteRestoreArtifactsBulkAdditionRequests/SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.cs index 3e707f8f20d..2f8d53615a2 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SiteRestoreArtifactsBulkAdditionRequests/SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SiteRestoreArtifactsBulkAdditionRequests/SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder.cs @@ -54,7 +54,8 @@ public SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder(string rawUrl, IRe { } /// - /// Get siteRestoreArtifactsBulkAdditionRequests from solutions + /// Get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +78,8 @@ public SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder(string rawUrl, IRe return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SiteRestoreArtifactsBulkAdditionRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new navigation property to siteRestoreArtifactsBulkAdditionRequests for solutions + /// Create a new siteRestoreArtifactsBulkAdditionRequest object associated with a sharePointRestoreSession. The initial status upon creation of the restore session is active. When all the sites are added to the corresponding SharePoint restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. + /// Find more info here /// /// A /// The request body @@ -102,7 +104,7 @@ public SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder(string rawUrl, IRe return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.SiteRestoreArtifactsBulkAdditionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get siteRestoreArtifactsBulkAdditionRequests from solutions + /// Get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -121,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to siteRestoreArtifactsBulkAdditionRequests for solutions + /// Create a new siteRestoreArtifactsBulkAdditionRequest object associated with a sharePointRestoreSession. The initial status upon creation of the restore session is active. When all the sites are added to the corresponding SharePoint restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. /// /// A /// The request body @@ -152,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.SharePointRestoreSessions.Item.SiteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get siteRestoreArtifactsBulkAdditionRequests from solutions + /// Get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Events/Item/SetExternalEventInformation/SetExternalEventInformationPostRequestBody.cs b/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Events/Item/SetExternalEventInformation/SetExternalEventInformationPostRequestBody.cs new file mode 100644 index 00000000000..da1ea31ebbc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Events/Item/SetExternalEventInformation/SetExternalEventInformationPostRequestBody.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.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SetExternalEventInformationPostRequestBody : 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 externalEventId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExternalEventId + { + get { return BackingStore?.Get("externalEventId"); } + set { BackingStore?.Set("externalEventId", value); } + } +#nullable restore +#else + public string ExternalEventId + { + get { return BackingStore?.Get("externalEventId"); } + set { BackingStore?.Set("externalEventId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SetExternalEventInformationPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "externalEventId", n => { ExternalEventId = 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("externalEventId", ExternalEventId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Events/Item/SetExternalEventInformation/SetExternalEventInformationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Events/Item/SetExternalEventInformation/SetExternalEventInformationRequestBuilder.cs new file mode 100644 index 00000000000..24b35409e96 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Events/Item/SetExternalEventInformation/SetExternalEventInformationRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation +{ + /// + /// Provides operations to call the setExternalEventInformation method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SetExternalEventInformationRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SetExternalEventInformationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/setExternalEventInformation", 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 SetExternalEventInformationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/setExternalEventInformation", rawUrl) + { + } + /// + /// Invoke action setExternalEventInformation + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationPostRequestBody 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action setExternalEventInformation + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationPostRequestBody 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.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationRequestBuilder(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 SetExternalEventInformationRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilder.cs index 27cfbf8da60..02f8ce90805 100644 --- a/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/VirtualEvents/Events/Item/VirtualEventItemRequestBuilder.cs @@ -7,6 +7,7 @@ using Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.Publish; using Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.Sessions; using Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SessionsWithJoinWebUrl; +using Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -43,6 +44,11 @@ public partial class VirtualEventItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.Sessions.SessionsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the setExternalEventInformation method. + public global::Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationRequestBuilder SetExternalEventInformation + { + get => new global::Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs index 29726e5dfd9..64f236bf985 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/FileStorageContainerItemRequestBuilder.cs @@ -5,10 +5,12 @@ using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Activate; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Columns; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Drive; +using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.PermanentDelete; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Permissions; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.RecycleBin; using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Restore; +using Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -40,6 +42,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Drive.DriveRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the lock method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder Lock + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the permanentDelete method. public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete { @@ -60,6 +67,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the unlock method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder Unlock + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockPostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockPostRequestBody.cs new file mode 100644 index 00000000000..33aa1ed4039 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockPostRequestBody.cs @@ -0,0 +1,72 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LockPostRequestBody : 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 lockState property + public global::Microsoft.Graph.Beta.Models.SiteLockState? LockState + { + get { return BackingStore?.Get("lockState"); } + set { BackingStore?.Set("lockState", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LockPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "lockState", n => { LockState = 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("lockState", LockState); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockRequestBuilder.cs new file mode 100644 index 00000000000..ebffa724f79 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Lock/LockRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock +{ + /// + /// Provides operations to call the lock method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LockRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LockRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/lock", 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 LockRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/lock", rawUrl) + { + } + /// + /// Invoke action lock + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action lock + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody 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.Beta.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder(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 LockRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Unlock/UnlockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Unlock/UnlockRequestBuilder.cs new file mode 100644 index 00000000000..b1e2bee7715 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Unlock/UnlockRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock +{ + /// + /// Provides operations to call the unlock method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnlockRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnlockRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/unlock", 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 UnlockRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/unlock", rawUrl) + { + } + /// + /// Invoke action unlock + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action unlock + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder(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 UnlockRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs index b0298e0dd37..ce8a04b2bbb 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/FileStorageContainerItemRequestBuilder.cs @@ -5,10 +5,12 @@ using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Activate; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Columns; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Drive; +using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.PermanentDelete; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Permissions; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.RecycleBin; using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Restore; +using Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -40,6 +42,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Drive.DriveRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the lock method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder Lock + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the permanentDelete method. public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete { @@ -60,6 +67,11 @@ public partial class FileStorageContainerItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the unlock method. + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder Unlock + { + get => new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockPostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockPostRequestBody.cs new file mode 100644 index 00000000000..befdab8b840 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockPostRequestBody.cs @@ -0,0 +1,72 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LockPostRequestBody : 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 lockState property + public global::Microsoft.Graph.Beta.Models.SiteLockState? LockState + { + get { return BackingStore?.Get("lockState"); } + set { BackingStore?.Set("lockState", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LockPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "lockState", n => { LockState = 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("lockState", LockState); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockRequestBuilder.cs new file mode 100644 index 00000000000..4342795317f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Lock/LockRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock +{ + /// + /// Provides operations to call the lock method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LockRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LockRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/lock", 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 LockRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/lock", rawUrl) + { + } + /// + /// Invoke action lock + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action lock + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody 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.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder(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 LockRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Unlock/UnlockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Unlock/UnlockRequestBuilder.cs new file mode 100644 index 00000000000..69aff2efe86 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Unlock/UnlockRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock +{ + /// + /// Provides operations to call the unlock method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnlockRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnlockRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/unlock", 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 UnlockRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/unlock", rawUrl) + { + } + /// + /// Invoke action unlock + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action unlock + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder(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 UnlockRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 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 7b1be276673..d22706694d2 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the role of a conversationMember in a team.or channel. - /// Find more info here + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a team.or channel. + /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 57ce5fc9b46..2c13ac6c95d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel or a chat. - /// Find more info here + /// Send a new chatMessage in the specified channel. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel or a chat. + /// Send a new chatMessage in the specified channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f82b18cdfb1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Templates.DeviceTemplates.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}/templates/deviceTemplates/$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}/templates/deviceTemplates/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.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/Templates/DeviceTemplates/DeviceTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/DeviceTemplatesRequestBuilder.cs new file mode 100644 index 00000000000..a9c70a713cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/DeviceTemplatesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Templates.DeviceTemplates.Count; +using Microsoft.Graph.Beta.Templates.DeviceTemplates.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Templates.DeviceTemplates +{ + /// + /// Provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplatesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. + /// The unique identifier of deviceTemplate + /// A + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("deviceTemplate%2Did", position); + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder(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 DeviceTemplatesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates{?%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 DeviceTemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get deviceTemplates from templates + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to deviceTemplates for templates + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.DeviceTemplate body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.DeviceTemplate 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceTemplates from templates + /// + /// A + /// Configuration 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 deviceTemplates for templates + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.DeviceTemplate body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.DeviceTemplate 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.Beta.Templates.DeviceTemplates.DeviceTemplatesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.DeviceTemplatesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceTemplates from templates + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplatesRequestBuilderGetQueryParameters + { + /// 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 DeviceTemplatesRequestBuilderGetRequestConfiguration : 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 DeviceTemplatesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/CreateDeviceFromTemplate/CreateDeviceFromTemplatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/CreateDeviceFromTemplate/CreateDeviceFromTemplatePostRequestBody.cs new file mode 100644 index 00000000000..254a967ec8a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/CreateDeviceFromTemplate/CreateDeviceFromTemplatePostRequestBody.cs @@ -0,0 +1,162 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CreateDeviceFromTemplatePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The accountEnabled property + public bool? AccountEnabled + { + get { return BackingStore?.Get("accountEnabled"); } + set { BackingStore?.Set("accountEnabled", 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); } + } + /// The alternativeNames property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AlternativeNames + { + get { return BackingStore?.Get?>("alternativeNames"); } + set { BackingStore?.Set("alternativeNames", value); } + } +#nullable restore +#else + public List AlternativeNames + { + get { return BackingStore?.Get>("alternativeNames"); } + set { BackingStore?.Set("alternativeNames", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The externalDeviceId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExternalDeviceId + { + get { return BackingStore?.Get("externalDeviceId"); } + set { BackingStore?.Set("externalDeviceId", value); } + } +#nullable restore +#else + public string ExternalDeviceId + { + get { return BackingStore?.Get("externalDeviceId"); } + set { BackingStore?.Set("externalDeviceId", value); } + } +#endif + /// The externalSourceName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExternalSourceName + { + get { return BackingStore?.Get("externalSourceName"); } + set { BackingStore?.Set("externalSourceName", value); } + } +#nullable restore +#else + public string ExternalSourceName + { + get { return BackingStore?.Get("externalSourceName"); } + set { BackingStore?.Set("externalSourceName", value); } + } +#endif + /// The keyCredential property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.KeyCredential? KeyCredential + { + get { return BackingStore?.Get("keyCredential"); } + set { BackingStore?.Set("keyCredential", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.KeyCredential KeyCredential + { + get { return BackingStore?.Get("keyCredential"); } + set { BackingStore?.Set("keyCredential", value); } + } +#endif + /// The operatingSystemVersion property +#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 CreateDeviceFromTemplatePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "accountEnabled", n => { AccountEnabled = n.GetBoolValue(); } }, + { "alternativeNames", n => { AlternativeNames = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "externalDeviceId", n => { ExternalDeviceId = n.GetStringValue(); } }, + { "externalSourceName", n => { ExternalSourceName = n.GetStringValue(); } }, + { "keyCredential", n => { KeyCredential = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.KeyCredential.CreateFromDiscriminatorValue); } }, + { "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.WriteBoolValue("accountEnabled", AccountEnabled); + writer.WriteCollectionOfPrimitiveValues("alternativeNames", AlternativeNames); + writer.WriteStringValue("externalDeviceId", ExternalDeviceId); + writer.WriteStringValue("externalSourceName", ExternalSourceName); + writer.WriteObjectValue("keyCredential", KeyCredential); + writer.WriteStringValue("operatingSystemVersion", OperatingSystemVersion); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/CreateDeviceFromTemplate/CreateDeviceFromTemplateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/CreateDeviceFromTemplate/CreateDeviceFromTemplateRequestBuilder.cs new file mode 100644 index 00000000000..166010206e0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/CreateDeviceFromTemplate/CreateDeviceFromTemplateRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate +{ + /// + /// Provides operations to call the createDeviceFromTemplate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreateDeviceFromTemplateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreateDeviceFromTemplateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/createDeviceFromTemplate", 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 CreateDeviceFromTemplateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/createDeviceFromTemplate", rawUrl) + { + } + /// + /// Invoke action createDeviceFromTemplate + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action createDeviceFromTemplate + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody 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.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplateRequestBuilder(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 CreateDeviceFromTemplateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceInstances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceInstances/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..92c6316215c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceInstances/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.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}/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances/$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}/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.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/Templates/DeviceTemplates/Item/DeviceInstances/DeviceInstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceInstances/DeviceInstancesRequestBuilder.cs new file mode 100644 index 00000000000..c5a3db71065 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceInstances/DeviceInstancesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count; +using Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances +{ + /// + /// Provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceInstancesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. + /// The unique identifier of device + /// A + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("device%2Did", position); + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder(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 DeviceInstancesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances{?%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 DeviceInstancesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get deviceInstances from templates + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceInstances from templates + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.DeviceInstancesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.DeviceInstancesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceInstances from templates + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceInstancesRequestBuilderGetQueryParameters + { + /// 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 DeviceInstancesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceInstances/Item/DeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceInstances/Item/DeviceItemRequestBuilder.cs new file mode 100644 index 00000000000..a5808e0192a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceInstances/Item/DeviceItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item +{ + /// + /// Provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances/{device%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 DeviceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances/{device%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get deviceInstances from templates + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceInstances from templates + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceInstances from templates + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceItemRequestBuilderGetQueryParameters + { + /// 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 DeviceItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceInstancesWithDeviceId/DeviceInstancesWithDeviceIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceInstancesWithDeviceId/DeviceInstancesWithDeviceIdRequestBuilder.cs new file mode 100644 index 00000000000..d21fe92d376 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceInstancesWithDeviceId/DeviceInstancesWithDeviceIdRequestBuilder.cs @@ -0,0 +1,127 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId +{ + /// + /// Provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceInstancesWithDeviceIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Alternate key of device + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceInstancesWithDeviceIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string deviceId = "") : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances(deviceId='{deviceId}'){?%24expand,%24select}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(deviceId)) PathParameters.Add("deviceId", deviceId); + } + /// + /// 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 DeviceInstancesWithDeviceIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances(deviceId='{deviceId}'){?%24expand,%24select}", rawUrl) + { + } + /// + /// Get deviceInstances from templates + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceInstances from templates + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.DeviceInstancesWithDeviceIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.DeviceInstancesWithDeviceIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceInstances from templates + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters + { + /// 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 DeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceTemplateItemRequestBuilder.cs new file mode 100644 index 00000000000..bf9036cf6f7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/DeviceTemplateItemRequestBuilder.cs @@ -0,0 +1,258 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate; +using Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances; +using Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId; +using Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Templates.DeviceTemplates.Item +{ + /// + /// Provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the createDeviceFromTemplate method. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplateRequestBuilder CreateDeviceFromTemplate + { + get => new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplateRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.DeviceInstancesRequestBuilder DeviceInstances + { + get => new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.DeviceInstancesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.OwnersRequestBuilder Owners + { + get => new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.OwnersRequestBuilder(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 DeviceTemplateItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%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 DeviceTemplateItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property deviceTemplates for templates + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. + /// + /// A + /// Alternate key of device + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.DeviceInstancesWithDeviceIdRequestBuilder DeviceInstancesWithDeviceId(string deviceId) + { + if(string.IsNullOrEmpty(deviceId)) throw new ArgumentNullException(nameof(deviceId)); + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.DeviceInstancesWithDeviceIdRequestBuilder(PathParameters, RequestAdapter, deviceId); + } + /// + /// Get deviceTemplates from templates + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property deviceTemplates in templates + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.DeviceTemplate body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.DeviceTemplate 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property deviceTemplates for templates + /// + /// A + /// Configuration 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 deviceTemplates from templates + /// + /// A + /// Configuration 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 deviceTemplates in templates + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.DeviceTemplate body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.DeviceTemplate 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.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder(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 DeviceTemplateItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get deviceTemplates from templates + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateItemRequestBuilderGetQueryParameters + { + /// 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 DeviceTemplateItemRequestBuilderGetRequestConfiguration : 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 DeviceTemplateItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/Owners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/Owners/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..bf8e76b4c39 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/Owners/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.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}/templates/deviceTemplates/{deviceTemplate%2Did}/owners/$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}/templates/deviceTemplates/{deviceTemplate%2Did}/owners/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.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/Templates/DeviceTemplates/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs new file mode 100644 index 00000000000..253cd37d522 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/Owners/Item/DirectoryObjectItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item +{ + /// + /// Provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/owners/{directoryObject%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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/owners/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get owners from templates + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get owners from templates + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get owners from templates + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DirectoryObjectItemRequestBuilderGetQueryParameters + { + /// 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 DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/Owners/OwnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/Owners/OwnersRequestBuilder.cs new file mode 100644 index 00000000000..82b381efebf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/DeviceTemplates/Item/Owners/OwnersRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count; +using Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners +{ + /// + /// Provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. + /// The unique identifier of directoryObject + /// A + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("directoryObject%2Did", position); + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder(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 OwnersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/owners{?%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 OwnersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/owners{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get owners from templates + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get owners from templates + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.OwnersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.OwnersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get owners from templates + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnersRequestBuilderGetQueryParameters + { + /// 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 OwnersRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Templates/TemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Templates/TemplatesRequestBuilder.cs new file mode 100644 index 00000000000..9645378b5ca --- /dev/null +++ b/src/Microsoft.Graph/Generated/Templates/TemplatesRequestBuilder.cs @@ -0,0 +1,186 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Templates.DeviceTemplates; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Templates +{ + /// + /// Provides operations to manage the template singleton. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TemplatesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. + public global::Microsoft.Graph.Beta.Templates.DeviceTemplates.DeviceTemplatesRequestBuilder DeviceTemplates + { + get => new global::Microsoft.Graph.Beta.Templates.DeviceTemplates.DeviceTemplatesRequestBuilder(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 TemplatesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates{?%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 TemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/templates{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get templates + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Template.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update templates + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Template body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Template 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Template.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get templates + /// + /// A + /// Configuration 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 templates + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Template body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Template 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.Beta.Templates.TemplatesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Templates.TemplatesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get templates + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TemplatesRequestBuilderGetQueryParameters + { + /// 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 TemplatesRequestBuilderGetRequestConfiguration : 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 TemplatesRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs index 377f98a9d32..490d893b408 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs @@ -71,8 +71,8 @@ public MultiTenantOrganizationRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MultiTenantOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. - /// Find more info here + /// Update the properties of a multi-tenant organization. + /// Find more info here /// /// A /// The request body @@ -116,7 +116,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. + /// Update the properties of a multi-tenant organization. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/Devices/Item/DeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Devices/Item/DeviceItemRequestBuilder.cs index 5423311f960..5e943bcf407 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Devices/Item/DeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Devices/Item/DeviceItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Users.Item.Devices.Item.Commands; +using Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate; using Microsoft.Graph.Beta.Users.Item.Devices.Item.Extensions; using Microsoft.Graph.Beta.Users.Item.Devices.Item.MemberOf; using Microsoft.Graph.Beta.Users.Item.Devices.Item.RegisteredOwners; @@ -30,6 +31,11 @@ public partial class DeviceItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Devices.Item.Commands.CommandsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. + public global::Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder DeviceTemplate + { + get => new global::Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the extensions property of the microsoft.graph.device entity. public global::Microsoft.Graph.Beta.Users.Item.Devices.Item.Extensions.ExtensionsRequestBuilder Extensions { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Devices/Item/DeviceTemplate/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Devices/Item/DeviceTemplate/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..ef32ad11469 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Devices/Item/DeviceTemplate/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.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}/devices/{device%2Did}/deviceTemplate/$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}/devices/{device%2Did}/deviceTemplate/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.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/Devices/Item/DeviceTemplate/DeviceTemplateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Devices/Item/DeviceTemplate/DeviceTemplateRequestBuilder.cs new file mode 100644 index 00000000000..1e2528423e0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Devices/Item/DeviceTemplate/DeviceTemplateRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count; +using Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate +{ + /// + /// Provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. + /// The unique identifier of deviceTemplate + /// A + public global::Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("deviceTemplate%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder(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 DeviceTemplateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/devices/{device%2Did}/deviceTemplate{?%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 DeviceTemplateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/devices/{device%2Did}/deviceTemplate{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get deviceTemplate 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceTemplate 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; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceTemplate from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateRequestBuilderGetQueryParameters + { + /// 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 DeviceTemplateRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Devices/Item/DeviceTemplate/Item/DeviceTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Devices/Item/DeviceTemplate/Item/DeviceTemplateItemRequestBuilder.cs new file mode 100644 index 00000000000..f79af7d822b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Devices/Item/DeviceTemplate/Item/DeviceTemplateItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item +{ + /// + /// Provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceTemplateItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/devices/{device%2Did}/deviceTemplate/{deviceTemplate%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 DeviceTemplateItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/devices/{device%2Did}/deviceTemplate/{deviceTemplate%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get deviceTemplate 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get deviceTemplate 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; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get deviceTemplate from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceTemplateItemRequestBuilderGetQueryParameters + { + /// 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 DeviceTemplateItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs index 4ba0fffa9cd..f4e63b0973a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs @@ -6,7 +6,9 @@ using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MessageRules; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Messages; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move; +using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDelete; +using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UserConfigurations; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -44,11 +46,21 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder Operations + { + get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the permanentDelete method. public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the updateAllMessagesReadState method. + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder UpdateAllMessagesReadState + { + get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the userConfigurations property of the microsoft.graph.mailFolder entity. public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UserConfigurations.UserConfigurationsRequestBuilder UserConfigurations { diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Operations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..7ad1b045413 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Operations/Count/CountRequestBuilder.cs @@ -0,0 +1,127 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.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}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations/$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}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations/$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 + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#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. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.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/MailFolders/Item/ChildFolders/Item/Operations/Item/MailFolderOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Operations/Item/MailFolderOperationItemRequestBuilder.cs new file mode 100644 index 00000000000..b3e2fe1cb53 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Operations/Item/MailFolderOperationItemRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item +{ + /// + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailFolderOperationItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailFolderOperationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations/{mailFolderOperation%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 MailFolderOperationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations/{mailFolderOperation%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get operations 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 + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolderOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get operations from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get operations from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailFolderOperationItemRequestBuilderGetQueryParameters + { + /// 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 MailFolderOperationItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Operations/OperationsRequestBuilder.cs new file mode 100644 index 00000000000..97a8eda2b15 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Operations/OperationsRequestBuilder.cs @@ -0,0 +1,188 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count; +using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations +{ + /// + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OperationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + /// The unique identifier of mailFolderOperation + /// A + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mailFolderOperation%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder(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 OperationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations{?%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 OperationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get operations 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 + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolderOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get operations from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get operations from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OperationsRequestBuilderGetQueryParameters + { + /// 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 OperationsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStatePostRequestBody.cs new file mode 100644 index 00000000000..04ff01a3625 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStatePostRequestBody.cs @@ -0,0 +1,79 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UpdateAllMessagesReadStatePostRequestBody : 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 isRead property + public bool? IsRead + { + get { return BackingStore?.Get("isRead"); } + set { BackingStore?.Set("isRead", value); } + } + /// The suppressReadReceipts property + public bool? SuppressReadReceipts + { + get { return BackingStore?.Get("suppressReadReceipts"); } + set { BackingStore?.Set("suppressReadReceipts", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public UpdateAllMessagesReadStatePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isRead", n => { IsRead = n.GetBoolValue(); } }, + { "suppressReadReceipts", n => { SuppressReadReceipts = n.GetBoolValue(); } }, + }; + } + /// + /// 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.WriteBoolValue("isRead", IsRead); + writer.WriteBoolValue("suppressReadReceipts", SuppressReadReceipts); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStateRequestBuilder.cs new file mode 100644 index 00000000000..fa9b85d363d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStateRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState +{ + /// + /// Provides operations to call the updateAllMessagesReadState method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UpdateAllMessagesReadStateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UpdateAllMessagesReadStateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/updateAllMessagesReadState", 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 UpdateAllMessagesReadStateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/updateAllMessagesReadState", rawUrl) + { + } + /// + /// Invoke action updateAllMessagesReadState + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action updateAllMessagesReadState + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody 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. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder(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 UpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs index 8b0b3152d2d..b04b0bd4898 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs @@ -7,7 +7,9 @@ using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MessageRules; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Messages; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move; +using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete; +using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UserConfigurations; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -50,11 +52,21 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move.MoveRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.OperationsRequestBuilder Operations + { + get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.OperationsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the permanentDelete method. public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder PermanentDelete { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the updateAllMessagesReadState method. + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder UpdateAllMessagesReadState + { + get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the userConfigurations property of the microsoft.graph.mailFolder entity. public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UserConfigurations.UserConfigurationsRequestBuilder UserConfigurations { diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Operations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..46646df5246 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Operations/Count/CountRequestBuilder.cs @@ -0,0 +1,127 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.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}/mailFolders/{mailFolder%2Did}/operations/$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}/mailFolders/{mailFolder%2Did}/operations/$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 + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#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. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.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/MailFolders/Item/Operations/Item/MailFolderOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Operations/Item/MailFolderOperationItemRequestBuilder.cs new file mode 100644 index 00000000000..046f2a888d3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Operations/Item/MailFolderOperationItemRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item +{ + /// + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailFolderOperationItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailFolderOperationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/operations/{mailFolderOperation%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 MailFolderOperationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/operations/{mailFolderOperation%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get operations 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 + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolderOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get operations from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get operations from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailFolderOperationItemRequestBuilderGetQueryParameters + { + /// 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 MailFolderOperationItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Operations/OperationsRequestBuilder.cs new file mode 100644 index 00000000000..366dd8651c0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Operations/OperationsRequestBuilder.cs @@ -0,0 +1,188 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count; +using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations +{ + /// + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OperationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the operations property of the microsoft.graph.mailFolder entity. + /// The unique identifier of mailFolderOperation + /// A + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("mailFolderOperation%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder(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 OperationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/operations{?%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 OperationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get operations 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 + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailFolderOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get operations from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.OperationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.OperationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get operations from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OperationsRequestBuilderGetQueryParameters + { + /// 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 OperationsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStatePostRequestBody.cs new file mode 100644 index 00000000000..7b0586b5a1e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStatePostRequestBody.cs @@ -0,0 +1,79 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UpdateAllMessagesReadStatePostRequestBody : 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 isRead property + public bool? IsRead + { + get { return BackingStore?.Get("isRead"); } + set { BackingStore?.Set("isRead", value); } + } + /// The suppressReadReceipts property + public bool? SuppressReadReceipts + { + get { return BackingStore?.Get("suppressReadReceipts"); } + set { BackingStore?.Set("suppressReadReceipts", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public UpdateAllMessagesReadStatePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isRead", n => { IsRead = n.GetBoolValue(); } }, + { "suppressReadReceipts", n => { SuppressReadReceipts = n.GetBoolValue(); } }, + }; + } + /// + /// 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.WriteBoolValue("isRead", IsRead); + writer.WriteBoolValue("suppressReadReceipts", SuppressReadReceipts); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStateRequestBuilder.cs new file mode 100644 index 00000000000..9228f950aa9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/UpdateAllMessagesReadState/UpdateAllMessagesReadStateRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState +{ + /// + /// Provides operations to call the updateAllMessagesReadState method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UpdateAllMessagesReadStateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UpdateAllMessagesReadStateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/updateAllMessagesReadState", 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 UpdateAllMessagesReadStateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/updateAllMessagesReadState", rawUrl) + { + } + /// + /// Invoke action updateAllMessagesReadState + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody 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.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action updateAllMessagesReadState + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody 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. + [Obsolete(" as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI")] + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder(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 UpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs index abf9c518036..4a8ed05a955 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/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 3399cd879b4..429e64dbfb3 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -8728,6 +8728,7 @@ Microsoft.Graph.Beta.BaseGraphServiceClient::|public|authenticationMethodsPolicy Microsoft.Graph.Beta.BaseGraphServiceClient::|public|bookingBusinesses:global.Microsoft.Graph.Beta.BookingBusinesses.BookingBusinessesRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|bookingCurrencies:global.Microsoft.Graph.Beta.BookingCurrencies.BookingCurrenciesRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|businessFlowTemplates:global.Microsoft.Graph.Beta.BusinessFlowTemplates.BusinessFlowTemplatesRequestBuilder +Microsoft.Graph.Beta.BaseGraphServiceClient::|public|certificateAuthorities:global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateAuthoritiesRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|certificateBasedAuthConfiguration:global.Microsoft.Graph.Beta.CertificateBasedAuthConfiguration.CertificateBasedAuthConfigurationRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|chats:global.Microsoft.Graph.Beta.Chats.ChatsRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|commands:global.Microsoft.Graph.Beta.Commands.CommandsRequestBuilder @@ -8824,6 +8825,7 @@ Microsoft.Graph.Beta.BaseGraphServiceClient::|public|teams:global.Microsoft.Grap Microsoft.Graph.Beta.BaseGraphServiceClient::|public|teamsTemplates:global.Microsoft.Graph.Beta.TeamsTemplates.TeamsTemplatesRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|teamTemplateDefinition:global.Microsoft.Graph.Beta.TeamTemplateDefinition.TeamTemplateDefinitionRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|teamwork:global.Microsoft.Graph.Beta.Teamwork.TeamworkRequestBuilder +Microsoft.Graph.Beta.BaseGraphServiceClient::|public|templates:global.Microsoft.Graph.Beta.Templates.TemplatesRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|tenantRelationships:global.Microsoft.Graph.Beta.TenantRelationships.TenantRelationshipsRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|termStore:global.Microsoft.Graph.Beta.TermStore.TermStoreRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|threatSubmission:global.Microsoft.Graph.Beta.ThreatSubmission.ThreatSubmissionRequestBuilder @@ -9311,6 +9313,153 @@ Microsoft.Graph.Beta.BusinessFlowTemplates.Item.BusinessFlowTemplateItemRequestB Microsoft.Graph.Beta.BusinessFlowTemplates.Item.BusinessFlowTemplateItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.BusinessFlowTemplates.Item.BusinessFlowTemplateItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.BusinessFlowTemplate; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.BusinessFlowTemplates.Item.BusinessFlowTemplateItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.BusinessFlowTemplates.Item.BusinessFlowTemplateItemRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder.certificateAuthoritiesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder.certificateAuthoritiesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder.certificateAuthoritiesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder.certificateAuthoritiesRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|certificateBasedApplicationConfigurations:global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.CertificateBasedApplicationConfigurationsRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CertificateAuthorityPath +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|mutualTlsOauthConfigurations:global.Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CertificateAuthorityPath; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CertificateAuthorityPath +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CertificateAuthorityPath; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateAuthoritiesRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder.certificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder.certificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder.certificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder.certificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder.certificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder.certificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder.certificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder.certificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder.certificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder.certificateBasedApplicationConfigurationsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder::[CertificateBasedApplicationConfigurationId:string]:global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfigurationCollectionResponse +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.certificateBasedApplicationConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.CertificateBasedApplicationConfigurationsRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Count.CountRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CertificateBasedApplicationConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder::|public|trustedCertificateAuthorities:global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.TrustedCertificateAuthoritiesRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.CertificateBasedApplicationConfigurationItemRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder.CertificateAuthorityAsEntityItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder.CertificateAuthorityAsEntityItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder.CertificateAuthorityAsEntityItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder.CertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder.CertificateAuthorityAsEntityItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder.trustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder.trustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder.trustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder.trustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder.trustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder.trustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder.trustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder.trustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder.trustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder.trustedCertificateAuthoritiesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder::[CertificateAuthorityAsEntityId:string]:global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Item.CertificateAuthorityAsEntityItemRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.Count.CountRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntityCollectionResponse +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.TrustedCertificateAuthoritiesRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::[MutualTlsOauthConfigurationId:string]:global.Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfigurationCollectionResponse +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder Microsoft.Graph.Beta.CertificateBasedAuthConfiguration.certificateBasedAuthConfigurationRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.CertificateBasedAuthConfiguration.certificateBasedAuthConfigurationRequestBuilder.certificateBasedAuthConfigurationRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.CertificateBasedAuthConfiguration.certificateBasedAuthConfigurationRequestBuilder.certificateBasedAuthConfigurationRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -45161,10 +45310,42 @@ Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item. Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcProvisioningPolicy Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CloudPcProvisioningPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcProvisioningPolicy +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder::|public|retrievePolicyApplyActionResult:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.RetrievePolicyApplyActionResultRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder::|public|retrievePolicyApplySchedule:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.RetrievePolicyApplyScheduleRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder::|public|schedulePolicyApplyTask:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudPcProvisioningPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.retrievePolicyApplyActionResultRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.retrievePolicyApplyActionResultRequestBuilder.retrievePolicyApplyActionResultRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.retrievePolicyApplyActionResultRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.retrievePolicyApplyActionResultRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.retrievePolicyApplyActionResultRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcPolicyApplyActionResult +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.retrievePolicyApplyActionResultRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.retrievePolicyApplyActionResultRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult.RetrievePolicyApplyActionResultRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.retrievePolicyApplyScheduleRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.retrievePolicyApplyScheduleRequestBuilder.retrievePolicyApplyScheduleRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.retrievePolicyApplyScheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.retrievePolicyApplyScheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.retrievePolicyApplyScheduleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcPolicyScheduledApplyActionDetail +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.retrievePolicyApplyScheduleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.retrievePolicyApplyScheduleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.RetrievePolicyApplyScheduleRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskPostRequestBody::|public|ScheduledRule:global.Microsoft.Graph.Beta.Models.CloudPcPolicyScheduledApplyActionDetail +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskRequestBuilder.schedulePolicyApplyTaskRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.schedulePolicyApplyTaskRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask.SchedulePolicyApplyTaskRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.provisioningPoliciesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.provisioningPoliciesRequestBuilder.provisioningPoliciesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.provisioningPoliciesRequestBuilder.provisioningPoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -47500,6 +47681,7 @@ Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder::|public|commands:glo Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder::|public|deviceTemplate:global.Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Beta.Devices.Item.Extensions.ExtensionsRequestBuilder Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Device Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder::|public|getMemberGroups:global.Microsoft.Graph.Beta.Devices.Item.GetMemberGroups.GetMemberGroupsRequestBuilder @@ -47515,6 +47697,41 @@ Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder::|public|ToPatchReque Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder::|public|transitiveMemberOf:global.Microsoft.Graph.Beta.Devices.Item.TransitiveMemberOf.TransitiveMemberOfRequestBuilder Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder::|public|usageRights:global.Microsoft.Graph.Beta.Devices.Item.UsageRights.UsageRightsRequestBuilder Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Devices.Item.DeviceItemRequestBuilder +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::[DeviceTemplateId:string]:global.Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Count.CountRequestBuilder +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplate +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder Microsoft.Graph.Beta.Devices.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Devices.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Devices.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -48871,6 +49088,7 @@ Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.certificateAuthor Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CertificateAuthorityPath +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|mutualTlsOauthConfigurations:global.Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CertificateAuthorityPath; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CertificateAuthorityPath Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.certificateAuthoritiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -48965,6 +49183,50 @@ Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.CertificateBasedA Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.trustedCertificateAuthoritiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.CertificateBasedApplicationConfigurations.Item.TrustedCertificateAuthorities.TrustedCertificateAuthoritiesRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder.mutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::[MutualTlsOauthConfigurationId:string]:global.Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Item.MutualTlsOauthConfigurationItemRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.Count.CountRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfigurationCollectionResponse +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.mutualTlsOauthConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.MutualTlsOauthConfigurations.MutualTlsOauthConfigurationsRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.CustomSecurityAttributeDefinitions.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.CustomSecurityAttributeDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.DirectoryNamespace.CustomSecurityAttributeDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -49530,6 +49792,7 @@ Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|sharedE Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|subscriptions:global.Microsoft.Graph.Beta.DirectoryNamespace.Subscriptions.SubscriptionsRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|subscriptionsWithCommerceSubscriptionId(commerceSubscriptionId:string):global.Microsoft.Graph.Beta.DirectoryNamespace.SubscriptionsWithCommerceSubscriptionId.SubscriptionsWithCommerceSubscriptionIdRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|subscriptionsWithOcpSubscriptionId(ocpSubscriptionId:string):global.Microsoft.Graph.Beta.DirectoryNamespace.SubscriptionsWithOcpSubscriptionId.SubscriptionsWithOcpSubscriptionIdRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|templates:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.TemplatesRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.DirectoryObject1; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.DirectoryRequestBuilder @@ -50518,6 +50781,169 @@ Microsoft.Graph.Beta.DirectoryNamespace.SubscriptionsWithOcpSubscriptionId.subsc Microsoft.Graph.Beta.DirectoryNamespace.SubscriptionsWithOcpSubscriptionId.subscriptionsWithOcpSubscriptionIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DirectoryNamespace.SubscriptionsWithOcpSubscriptionId.subscriptionsWithOcpSubscriptionIdRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CompanySubscription; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DirectoryNamespace.SubscriptionsWithOcpSubscriptionId.subscriptionsWithOcpSubscriptionIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.SubscriptionsWithOcpSubscriptionId.SubscriptionsWithOcpSubscriptionIdRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::[DeviceTemplateId:string]:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Count.CountRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.DeviceTemplate; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplate +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.DeviceTemplate; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.DeviceTemplatesRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|AccountEnabled:bool? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|AlternativeNames:List +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|ExternalDeviceId:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|ExternalSourceName:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|KeyCredential:global.Microsoft.Graph.Beta.Models.KeyCredential +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|OperatingSystemVersion:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder.createDeviceFromTemplateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Device +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplateRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::[DeviceId:string]:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceCollectionResponse +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.DeviceInstancesRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder.DeviceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder.DeviceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder.DeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Device +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder.deviceInstancesWithDeviceIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder.deviceInstancesWithDeviceIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder.deviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; deviceId?:string):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Device +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.DeviceInstancesWithDeviceIdRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|createDeviceFromTemplate:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplateRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|deviceInstances:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstances.DeviceInstancesRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|deviceInstancesWithDeviceId(deviceId:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.DeviceInstancesWithDeviceIdRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplate +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|owners:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.OwnersRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.DeviceTemplate; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplate +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.DeviceTemplate; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.Item.Owners.OwnersRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder.templatesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder.templatesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder.templatesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder.templatesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder.templatesRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder::|public|deviceTemplates:global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.DeviceTemplates.DeviceTemplatesRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Template +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Template; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Template +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Template; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.Templates.templatesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.Templates.TemplatesRequestBuilder Microsoft.Graph.Beta.DirectoryObjects.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DirectoryObjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.DirectoryObjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -109376,11 +109802,56 @@ Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|customAuthenticati Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityContainer Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|identityProviders:global.Microsoft.Graph.Beta.Identity.IdentityProviders.IdentityProvidersRequestBuilder Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.IdentityContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityContainer +Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|productChanges:global.Microsoft.Graph.Beta.Identity.ProductChanges.ProductChangesRequestBuilder Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.IdentityContainer; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|userFlowAttributes:global.Microsoft.Graph.Beta.Identity.UserFlowAttributes.UserFlowAttributesRequestBuilder Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|userFlows:global.Microsoft.Graph.Beta.Identity.UserFlows.UserFlowsRequestBuilder Microsoft.Graph.Beta.Identity.identityRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.IdentityRequestBuilder +Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder.ChangeItemBaseItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder.ChangeItemBaseItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder.ChangeItemBaseItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder.ChangeItemBaseItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder.ChangeItemBaseItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChangeItemBase +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ChangeItemBase; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChangeItemBase +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChangeItemBase; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder.productChangesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::[ChangeItemBaseId:string]:global.Microsoft.Graph.Beta.Identity.ProductChanges.Item.ChangeItemBaseItemRequestBuilder +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Identity.ProductChanges.Count.CountRequestBuilder +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChangeItemBaseCollectionResponse +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ChangeItemBase; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChangeItemBase +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChangeItemBase; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Identity.ProductChanges.productChangesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Identity.ProductChanges.ProductChangesRequestBuilder Microsoft.Graph.Beta.Identity.UserFlowAttributes.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Identity.UserFlowAttributes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Identity.UserFlowAttributes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -139541,6 +140012,7 @@ Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder::|public|commands: Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder::|public|deviceTemplate:global.Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Beta.Me.Devices.Item.Extensions.ExtensionsRequestBuilder Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Device Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder::|public|memberOf:global.Microsoft.Graph.Beta.Me.Devices.Item.MemberOf.MemberOfRequestBuilder @@ -139553,6 +140025,41 @@ Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder::|public|ToPatchRe Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder::|public|transitiveMemberOf:global.Microsoft.Graph.Beta.Me.Devices.Item.TransitiveMemberOf.TransitiveMemberOfRequestBuilder Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder::|public|usageRights:global.Microsoft.Graph.Beta.Me.Devices.Item.UsageRights.UsageRightsRequestBuilder Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Devices.Item.DeviceItemRequestBuilder +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::[DeviceTemplateId:string]:global.Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplate +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder Microsoft.Graph.Beta.Me.Devices.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Devices.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.Devices.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -143488,11 +143995,13 @@ Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequest Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|operations:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailFolder; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|updateAllMessagesReadState:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|userConfigurations:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UserConfigurations.UserConfigurationsRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder-->BaseRequestBuilder @@ -143974,6 +144483,41 @@ Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuild Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder.MailFolderOperationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder.MailFolderOperationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder.MailFolderOperationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolderOperation +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::[MailFolderOperationId:string]:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolderOperationCollectionResponse +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -143981,6 +144525,22 @@ Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.perma Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|IsRead:bool? +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|SuppressReadReceipts:bool? +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder.updateAllMessagesReadStateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UserConfigurations.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -144046,11 +144606,13 @@ Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|G Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Beta.Me.MailFolders.Item.MessageRules.MessageRulesRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Me.MailFolders.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Beta.Me.MailFolders.Item.Move.MoveRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|operations:global.Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.OperationsRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailFolder; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|updateAllMessagesReadState:global.Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|userConfigurations:global.Microsoft.Graph.Beta.Me.MailFolders.Item.UserConfigurations.UserConfigurationsRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MessageRules.Count.CountRequestBuilder-->BaseRequestBuilder @@ -144532,6 +145094,41 @@ Microsoft.Graph.Beta.Me.MailFolders.Item.Move.moveRequestBuilder::|public|constr Microsoft.Graph.Beta.Me.MailFolders.Item.Move.moveRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.MailFolders.Item.Move.MovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Me.MailFolders.Item.Move.moveRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.MailFolders.Item.Move.MovePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.MailFolders.Item.Move.moveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.Move.MoveRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder.MailFolderOperationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder.MailFolderOperationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder.MailFolderOperationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolderOperation +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder::[MailFolderOperationId:string]:global.Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolderOperationCollectionResponse +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.operationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.Operations.OperationsRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -144539,6 +145136,22 @@ Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestB Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|IsRead:bool? +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|SuppressReadReceipts:bool? +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder.updateAllMessagesReadStateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.UserConfigurations.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.MailFolders.Item.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -156923,6 +157536,76 @@ Microsoft.Graph.Beta.Models.agreementFileVersionCollectionResponse::|public|GetF Microsoft.Graph.Beta.Models.agreementFileVersionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.agreementFileVersionCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.agreementFileVersionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AgreementFileVersionCollectionResponse +Microsoft.Graph.Beta.Models.aiInteraction-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.aiInteraction::|public|AppClass:string +Microsoft.Graph.Beta.Models.aiInteraction::|public|Attachments:List +Microsoft.Graph.Beta.Models.aiInteraction::|public|Body:global.Microsoft.Graph.Beta.Models.ItemBody +Microsoft.Graph.Beta.Models.aiInteraction::|public|Contexts:List +Microsoft.Graph.Beta.Models.aiInteraction::|public|ConversationType:string +Microsoft.Graph.Beta.Models.aiInteraction::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.aiInteraction::|public|Etag:string +Microsoft.Graph.Beta.Models.aiInteraction::|public|From:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.aiInteraction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.aiInteraction::|public|InteractionType:global.Microsoft.Graph.Beta.Models.AiInteractionType? +Microsoft.Graph.Beta.Models.aiInteraction::|public|Links:List +Microsoft.Graph.Beta.Models.aiInteraction::|public|Locale:string +Microsoft.Graph.Beta.Models.aiInteraction::|public|Mentions:List +Microsoft.Graph.Beta.Models.aiInteraction::|public|OdataType:string +Microsoft.Graph.Beta.Models.aiInteraction::|public|RequestId:string +Microsoft.Graph.Beta.Models.aiInteraction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.aiInteraction::|public|SessionId:string +Microsoft.Graph.Beta.Models.aiInteraction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AiInteraction +Microsoft.Graph.Beta.Models.aiInteractionAttachment-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.aiInteractionAttachment::|public|AttachmentId:string +Microsoft.Graph.Beta.Models.aiInteractionAttachment::|public|Content:string +Microsoft.Graph.Beta.Models.aiInteractionAttachment::|public|ContentType:string +Microsoft.Graph.Beta.Models.aiInteractionAttachment::|public|ContentUrl:string +Microsoft.Graph.Beta.Models.aiInteractionAttachment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.aiInteractionAttachment::|public|Name:string +Microsoft.Graph.Beta.Models.aiInteractionAttachment::|public|OdataType:string +Microsoft.Graph.Beta.Models.aiInteractionAttachment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.aiInteractionAttachment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AiInteractionAttachment +Microsoft.Graph.Beta.Models.aiInteractionContext-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.aiInteractionContext::|public|ContextReference:string +Microsoft.Graph.Beta.Models.aiInteractionContext::|public|ContextType:string +Microsoft.Graph.Beta.Models.aiInteractionContext::|public|DisplayName:string +Microsoft.Graph.Beta.Models.aiInteractionContext::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.aiInteractionContext::|public|OdataType:string +Microsoft.Graph.Beta.Models.aiInteractionContext::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.aiInteractionContext::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AiInteractionContext +Microsoft.Graph.Beta.Models.aiInteractionHistory-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.aiInteractionHistory::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.aiInteractionHistory::|public|Interactions:List +Microsoft.Graph.Beta.Models.aiInteractionHistory::|public|OdataType:string +Microsoft.Graph.Beta.Models.aiInteractionHistory::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.aiInteractionHistory::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AiInteractionHistory +Microsoft.Graph.Beta.Models.aiInteractionLink-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.aiInteractionLink::|public|DisplayName:string +Microsoft.Graph.Beta.Models.aiInteractionLink::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.aiInteractionLink::|public|LinkType:string +Microsoft.Graph.Beta.Models.aiInteractionLink::|public|LinkUrl:string +Microsoft.Graph.Beta.Models.aiInteractionLink::|public|OdataType:string +Microsoft.Graph.Beta.Models.aiInteractionLink::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.aiInteractionLink::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AiInteractionLink +Microsoft.Graph.Beta.Models.aiInteractionMention-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.aiInteractionMention::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.aiInteractionMention::|public|Mentioned:global.Microsoft.Graph.Beta.Models.AiInteractionMentionedIdentitySet +Microsoft.Graph.Beta.Models.aiInteractionMention::|public|MentionId:int? +Microsoft.Graph.Beta.Models.aiInteractionMention::|public|MentionText:string +Microsoft.Graph.Beta.Models.aiInteractionMention::|public|OdataType:string +Microsoft.Graph.Beta.Models.aiInteractionMention::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.aiInteractionMention::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AiInteractionMention +Microsoft.Graph.Beta.Models.aiInteractionMentionedIdentitySet-->global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.aiInteractionMentionedIdentitySet::|public|constructor():void +Microsoft.Graph.Beta.Models.aiInteractionMentionedIdentitySet::|public|Conversation:global.Microsoft.Graph.Beta.Models.TeamworkConversationIdentity +Microsoft.Graph.Beta.Models.aiInteractionMentionedIdentitySet::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.aiInteractionMentionedIdentitySet::|public|OdataType:string +Microsoft.Graph.Beta.Models.aiInteractionMentionedIdentitySet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.aiInteractionMentionedIdentitySet::|public|Tag:global.Microsoft.Graph.Beta.Models.TeamworkTagIdentity +Microsoft.Graph.Beta.Models.aiInteractionMentionedIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AiInteractionMentionedIdentitySet +Microsoft.Graph.Beta.Models.aiInteractionType::0000-userPrompt +Microsoft.Graph.Beta.Models.aiInteractionType::0001-aiResponse +Microsoft.Graph.Beta.Models.aiInteractionType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.airPrintDestination::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.airPrintDestination::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.airPrintDestination::|public|constructor():void @@ -156944,6 +157627,12 @@ Microsoft.Graph.Beta.Models.airPrintSettings::|public|OdataType:string Microsoft.Graph.Beta.Models.airPrintSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.airPrintSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AirPrintSettings Microsoft.Graph.Beta.Models.airPrintSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.aiUser-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.aiUser::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.aiUser::|public|InteractionHistory:global.Microsoft.Graph.Beta.Models.AiInteractionHistory +Microsoft.Graph.Beta.Models.aiUser::|public|OdataType:string +Microsoft.Graph.Beta.Models.aiUser::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.aiUser::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AiUser Microsoft.Graph.Beta.Models.album::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.album::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.album::|public|constructor():void @@ -158960,6 +159649,17 @@ Microsoft.Graph.Beta.Models.androidWorkProfileWiFiConfiguration::|public|Seriali Microsoft.Graph.Beta.Models.androidWorkProfileWiFiConfiguration::|public|Ssid:string Microsoft.Graph.Beta.Models.androidWorkProfileWiFiConfiguration::|public|WiFiSecurityType:global.Microsoft.Graph.Beta.Models.AndroidWiFiSecurityType? Microsoft.Graph.Beta.Models.androidWorkProfileWiFiConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AndroidWorkProfileWiFiConfiguration +Microsoft.Graph.Beta.Models.announcement-->global.Microsoft.Graph.Beta.Models.ChangeItemBase +Microsoft.Graph.Beta.Models.announcement::|public|AnnouncementDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.announcement::|public|ChangeType:global.Microsoft.Graph.Beta.Models.ChangeAnnouncementChangeType? +Microsoft.Graph.Beta.Models.announcement::|public|constructor():void +Microsoft.Graph.Beta.Models.announcement::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.announcement::|public|ImpactLink:string +Microsoft.Graph.Beta.Models.announcement::|public|IsCustomerActionRequired:bool? +Microsoft.Graph.Beta.Models.announcement::|public|OdataType:string +Microsoft.Graph.Beta.Models.announcement::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.announcement::|public|TargetDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.announcement::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Announcement Microsoft.Graph.Beta.Models.anonymousGuestConversationMember-->global.Microsoft.Graph.Beta.Models.ConversationMember Microsoft.Graph.Beta.Models.anonymousGuestConversationMember::|public|AnonymousGuestId:string Microsoft.Graph.Beta.Models.anonymousGuestConversationMember::|public|constructor():void @@ -160440,6 +161140,7 @@ Microsoft.Graph.Beta.Models.attendanceInterval~~>IAdditionalDataHolder; IBackedM Microsoft.Graph.Beta.Models.attendanceRecord-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.attendanceRecord::|public|AttendanceIntervals:List Microsoft.Graph.Beta.Models.attendanceRecord::|public|EmailAddress:string +Microsoft.Graph.Beta.Models.attendanceRecord::|public|ExternalRegistrationInformation:global.Microsoft.Graph.Beta.Models.VirtualEventExternalRegistrationInformation Microsoft.Graph.Beta.Models.attendanceRecord::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.attendanceRecord::|public|Identity:global.Microsoft.Graph.Beta.Models.Identity Microsoft.Graph.Beta.Models.attendanceRecord::|public|OdataType:string @@ -163853,6 +164554,13 @@ Microsoft.Graph.Beta.Models.callRoute::|public|RoutingType:global.Microsoft.Grap Microsoft.Graph.Beta.Models.callRoute::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.callRoute::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CallRoute Microsoft.Graph.Beta.Models.callRoute~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.callSettings-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.callSettings::|public|Delegates:List +Microsoft.Graph.Beta.Models.callSettings::|public|Delegators:List +Microsoft.Graph.Beta.Models.callSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.callSettings::|public|OdataType:string +Microsoft.Graph.Beta.Models.callSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.callSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CallSettings Microsoft.Graph.Beta.Models.callStartedEventMessageDetail-->global.Microsoft.Graph.Beta.Models.EventMessageDetail Microsoft.Graph.Beta.Models.callStartedEventMessageDetail::|public|CallEventType:global.Microsoft.Graph.Beta.Models.TeamworkCallEventType? Microsoft.Graph.Beta.Models.callStartedEventMessageDetail::|public|CallId:string @@ -164043,6 +164751,7 @@ Microsoft.Graph.Beta.Models.certificateAuthorityDetailCollectionResponse::|stati Microsoft.Graph.Beta.Models.certificateAuthorityPath-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.certificateAuthorityPath::|public|CertificateBasedApplicationConfigurations:List Microsoft.Graph.Beta.Models.certificateAuthorityPath::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.certificateAuthorityPath::|public|MutualTlsOauthConfigurations:List Microsoft.Graph.Beta.Models.certificateAuthorityPath::|public|OdataType:string Microsoft.Graph.Beta.Models.certificateAuthorityPath::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.certificateAuthorityPath::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CertificateAuthorityPath @@ -164201,12 +164910,41 @@ Microsoft.Graph.Beta.Models.challengingWord::|public|Serialize(writer:ISerializa Microsoft.Graph.Beta.Models.challengingWord::|public|Word:string Microsoft.Graph.Beta.Models.challengingWord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChallengingWord Microsoft.Graph.Beta.Models.challengingWord~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0000-breakingChange +Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0001-deprecation +Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0002-endOfSupport +Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0003-featureChange +Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0004-other +Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0005-retirement +Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0006-securityIncident +Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0007-uxChange +Microsoft.Graph.Beta.Models.changeAnnouncementChangeType::0008-unknownFutureValue Microsoft.Graph.Beta.Models.changeAssignmentsActionResult-->global.Microsoft.Graph.Beta.Models.DeviceActionResult Microsoft.Graph.Beta.Models.changeAssignmentsActionResult::|public|DeviceAssignmentItems:List Microsoft.Graph.Beta.Models.changeAssignmentsActionResult::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.changeAssignmentsActionResult::|public|OdataType:string Microsoft.Graph.Beta.Models.changeAssignmentsActionResult::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.changeAssignmentsActionResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChangeAssignmentsActionResult +Microsoft.Graph.Beta.Models.changeItemBase-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.changeItemBase::|public|ChangeItemService:string +Microsoft.Graph.Beta.Models.changeItemBase::|public|Description:string +Microsoft.Graph.Beta.Models.changeItemBase::|public|DocumentationUrls:List +Microsoft.Graph.Beta.Models.changeItemBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.changeItemBase::|public|OdataType:string +Microsoft.Graph.Beta.Models.changeItemBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.changeItemBase::|public|ShortDescription:string +Microsoft.Graph.Beta.Models.changeItemBase::|public|SystemTags:List +Microsoft.Graph.Beta.Models.changeItemBase::|public|Tags:List +Microsoft.Graph.Beta.Models.changeItemBase::|public|Title:string +Microsoft.Graph.Beta.Models.changeItemBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChangeItemBase +Microsoft.Graph.Beta.Models.changeItemBaseCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.changeItemBaseCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.changeItemBaseCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.changeItemBaseCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.changeItemBaseCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChangeItemBaseCollectionResponse +Microsoft.Graph.Beta.Models.changeItemState::0000-available +Microsoft.Graph.Beta.Models.changeItemState::0001-comingSoon +Microsoft.Graph.Beta.Models.changeItemState::0002-unknownFutureValue Microsoft.Graph.Beta.Models.changeTrackedEntity-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.changeTrackedEntity::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.changeTrackedEntity::|public|CreatedDateTime:DateTimeOffset? @@ -165876,6 +166614,31 @@ Microsoft.Graph.Beta.Models.cloudPcPartnerAgentName::0002-vMware Microsoft.Graph.Beta.Models.cloudPcPartnerAgentName::0003-hp Microsoft.Graph.Beta.Models.cloudPCPerformanceReportName::0000-performanceTrendReport Microsoft.Graph.Beta.Models.cloudPCPerformanceReportName::0001-unknownFutureValue +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult::|public|FinishDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult::|public|Status:global.Microsoft.Graph.Beta.Models.CloudPcPolicyApplyActionStatus? +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcPolicyApplyActionResult +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionResult~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionStatus::0000-processing +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionStatus::0001-succeeded +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionStatus::0002-failed +Microsoft.Graph.Beta.Models.cloudPcPolicyApplyActionStatus::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|CronScheduleExpression:string +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|ReservePercentage:int? +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcPolicyScheduledApplyActionDetail +Microsoft.Graph.Beta.Models.cloudPcPolicyScheduledApplyActionDetail~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.cloudPcPolicySettingType::0000-region Microsoft.Graph.Beta.Models.cloudPcPolicySettingType::0001-singleSignOn Microsoft.Graph.Beta.Models.cloudPcPolicySettingType::0002-unknownFutureValue @@ -169200,6 +169963,19 @@ Microsoft.Graph.Beta.Models.defenderThreatAction::0003-remove Microsoft.Graph.Beta.Models.defenderThreatAction::0004-allow Microsoft.Graph.Beta.Models.defenderThreatAction::0005-userDefined Microsoft.Graph.Beta.Models.defenderThreatAction::0006-block +Microsoft.Graph.Beta.Models.delegateAllowedActions::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.delegateAllowedActions::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.delegateAllowedActions::|public|constructor():void +Microsoft.Graph.Beta.Models.delegateAllowedActions::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.delegateAllowedActions::|public|JoinActiveCalls:bool? +Microsoft.Graph.Beta.Models.delegateAllowedActions::|public|MakeCalls:bool? +Microsoft.Graph.Beta.Models.delegateAllowedActions::|public|ManageCallAndDelegateSettings:bool? +Microsoft.Graph.Beta.Models.delegateAllowedActions::|public|OdataType:string +Microsoft.Graph.Beta.Models.delegateAllowedActions::|public|PickUpHeldCalls:bool? +Microsoft.Graph.Beta.Models.delegateAllowedActions::|public|ReceiveCalls:bool? +Microsoft.Graph.Beta.Models.delegateAllowedActions::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.delegateAllowedActions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DelegateAllowedActions +Microsoft.Graph.Beta.Models.delegateAllowedActions~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.delegatedAdminAccessAssignment-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.delegatedAdminAccessAssignment::|public|AccessContainer:global.Microsoft.Graph.Beta.Models.DelegatedAdminAccessContainer Microsoft.Graph.Beta.Models.delegatedAdminAccessAssignment::|public|AccessDetails:global.Microsoft.Graph.Beta.Models.DelegatedAdminAccessDetails @@ -169369,6 +170145,14 @@ Microsoft.Graph.Beta.Models.delegatedPermissionClassificationCollectionResponse: Microsoft.Graph.Beta.Models.delegateMeetingMessageDeliveryOptions::0000-sendToDelegateAndInformationToPrincipal Microsoft.Graph.Beta.Models.delegateMeetingMessageDeliveryOptions::0001-sendToDelegateAndPrincipal Microsoft.Graph.Beta.Models.delegateMeetingMessageDeliveryOptions::0002-sendToDelegateOnly +Microsoft.Graph.Beta.Models.delegationSettings-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.delegationSettings::|public|AllowedActions:global.Microsoft.Graph.Beta.Models.DelegateAllowedActions +Microsoft.Graph.Beta.Models.delegationSettings::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.delegationSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.delegationSettings::|public|IsActive:bool? +Microsoft.Graph.Beta.Models.delegationSettings::|public|OdataType:string +Microsoft.Graph.Beta.Models.delegationSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.delegationSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DelegationSettings Microsoft.Graph.Beta.Models.deleteAction::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.deleteAction::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.deleteAction::|public|constructor():void @@ -169751,6 +170535,7 @@ Microsoft.Graph.Beta.Models.detectedSensitiveContentWrapper::|static|public|Crea Microsoft.Graph.Beta.Models.detectedSensitiveContentWrapper~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.device-->global.Microsoft.Graph.Beta.Models.DirectoryObject Microsoft.Graph.Beta.Models.device::|public|AccountEnabled:bool? +Microsoft.Graph.Beta.Models.device::|public|AlternativeNames:List Microsoft.Graph.Beta.Models.device::|public|AlternativeSecurityIds:List Microsoft.Graph.Beta.Models.device::|public|ApproximateLastSignInDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.device::|public|Commands:List @@ -169760,6 +170545,7 @@ Microsoft.Graph.Beta.Models.device::|public|DeviceCategory:string Microsoft.Graph.Beta.Models.device::|public|DeviceId:string Microsoft.Graph.Beta.Models.device::|public|DeviceMetadata:string Microsoft.Graph.Beta.Models.device::|public|DeviceOwnership:string +Microsoft.Graph.Beta.Models.device::|public|DeviceTemplate:List Microsoft.Graph.Beta.Models.device::|public|DeviceVersion:int? Microsoft.Graph.Beta.Models.device::|public|DisplayName:string Microsoft.Graph.Beta.Models.device::|public|DomainName:string @@ -173685,6 +174471,25 @@ Microsoft.Graph.Beta.Models.deviceShellScriptCollectionResponse::|public|GetFiel Microsoft.Graph.Beta.Models.deviceShellScriptCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.deviceShellScriptCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.deviceShellScriptCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DeviceShellScriptCollectionResponse +Microsoft.Graph.Beta.Models.deviceTemplate-->global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.Models.deviceTemplate::|public|constructor():void +Microsoft.Graph.Beta.Models.deviceTemplate::|public|DeviceAuthority:string +Microsoft.Graph.Beta.Models.deviceTemplate::|public|DeviceInstances:List +Microsoft.Graph.Beta.Models.deviceTemplate::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.deviceTemplate::|public|Manufacturer:string +Microsoft.Graph.Beta.Models.deviceTemplate::|public|Model:string +Microsoft.Graph.Beta.Models.deviceTemplate::|public|MutualTlsOauthConfigurationId:string +Microsoft.Graph.Beta.Models.deviceTemplate::|public|MutualTlsOauthConfigurationTenantId:string +Microsoft.Graph.Beta.Models.deviceTemplate::|public|OdataType:string +Microsoft.Graph.Beta.Models.deviceTemplate::|public|OperatingSystem:string +Microsoft.Graph.Beta.Models.deviceTemplate::|public|Owners:List +Microsoft.Graph.Beta.Models.deviceTemplate::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.deviceTemplate::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DeviceTemplate +Microsoft.Graph.Beta.Models.deviceTemplateCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.deviceTemplateCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.deviceTemplateCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.deviceTemplateCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.deviceTemplateCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse Microsoft.Graph.Beta.Models.deviceThreatProtectionLevel::0000-unavailable Microsoft.Graph.Beta.Models.deviceThreatProtectionLevel::0001-secured Microsoft.Graph.Beta.Models.deviceThreatProtectionLevel::0002-low @@ -173868,6 +174673,7 @@ Microsoft.Graph.Beta.Models.directoryObject1::|public|Recommendations:List Microsoft.Graph.Beta.Models.directoryObject1::|public|Subscriptions:List +Microsoft.Graph.Beta.Models.directoryObject1::|public|Templates:global.Microsoft.Graph.Beta.Models.Template Microsoft.Graph.Beta.Models.directoryObject1::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DirectoryObject1 Microsoft.Graph.Beta.Models.directoryObject::|public|DeletedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.directoryObject::|public|GetFieldDeserializers():IDictionary> @@ -177787,6 +178593,7 @@ Microsoft.Graph.Beta.Models.featureType::0001-reset Microsoft.Graph.Beta.Models.featureType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.federatedIdentityCredential-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.federatedIdentityCredential::|public|Audiences:List +Microsoft.Graph.Beta.Models.federatedIdentityCredential::|public|ClaimsMatchingExpression:global.Microsoft.Graph.Beta.Models.FederatedIdentityExpression Microsoft.Graph.Beta.Models.federatedIdentityCredential::|public|Description:string Microsoft.Graph.Beta.Models.federatedIdentityCredential::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.federatedIdentityCredential::|public|Issuer:string @@ -177800,6 +178607,16 @@ Microsoft.Graph.Beta.Models.federatedIdentityCredentialCollectionResponse::|publ Microsoft.Graph.Beta.Models.federatedIdentityCredentialCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.federatedIdentityCredentialCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.federatedIdentityCredentialCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.FederatedIdentityCredentialCollectionResponse +Microsoft.Graph.Beta.Models.federatedIdentityExpression::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.federatedIdentityExpression::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.federatedIdentityExpression::|public|constructor():void +Microsoft.Graph.Beta.Models.federatedIdentityExpression::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.federatedIdentityExpression::|public|LanguageVersion:int? +Microsoft.Graph.Beta.Models.federatedIdentityExpression::|public|OdataType:string +Microsoft.Graph.Beta.Models.federatedIdentityExpression::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.federatedIdentityExpression::|public|Value:string +Microsoft.Graph.Beta.Models.federatedIdentityExpression::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.FederatedIdentityExpression +Microsoft.Graph.Beta.Models.federatedIdentityExpression~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.federatedIdpMfaBehavior::0000-acceptIfMfaDoneByFederatedIdp Microsoft.Graph.Beta.Models.federatedIdpMfaBehavior::0001-enforceMfaByFederatedIdp Microsoft.Graph.Beta.Models.federatedIdpMfaBehavior::0002-rejectMfaByFederatedIdp @@ -179862,6 +180679,7 @@ Microsoft.Graph.Beta.Models.identityContainer::|public|CustomAuthenticationExten Microsoft.Graph.Beta.Models.identityContainer::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.identityContainer::|public|IdentityProviders:List Microsoft.Graph.Beta.Models.identityContainer::|public|OdataType:string +Microsoft.Graph.Beta.Models.identityContainer::|public|ProductChanges:List Microsoft.Graph.Beta.Models.identityContainer::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.identityContainer::|public|UserFlowAttributes:List Microsoft.Graph.Beta.Models.identityContainer::|public|UserFlows:List @@ -183971,6 +184789,15 @@ Microsoft.Graph.Beta.Models.listItemVersionCollectionResponse::|public|GetFieldD Microsoft.Graph.Beta.Models.listItemVersionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.listItemVersionCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.listItemVersionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ListItemVersionCollectionResponse +Microsoft.Graph.Beta.Models.liveCaptionOptions::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.liveCaptionOptions::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.liveCaptionOptions::|public|constructor():void +Microsoft.Graph.Beta.Models.liveCaptionOptions::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.liveCaptionOptions::|public|OdataType:string +Microsoft.Graph.Beta.Models.liveCaptionOptions::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.liveCaptionOptions::|public|StreamUrl:string +Microsoft.Graph.Beta.Models.liveCaptionOptions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.LiveCaptionOptions +Microsoft.Graph.Beta.Models.liveCaptionOptions~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.lobbyBypassScope::0000-organizer Microsoft.Graph.Beta.Models.lobbyBypassScope::0001-organization Microsoft.Graph.Beta.Models.lobbyBypassScope::0002-organizationAndFederated @@ -185235,6 +186062,7 @@ Microsoft.Graph.Beta.Models.mailFolder::|public|MessageRules:List Microsoft.Graph.Beta.Models.mailFolder::|public|MultiValueExtendedProperties:List Microsoft.Graph.Beta.Models.mailFolder::|public|OdataType:string +Microsoft.Graph.Beta.Models.mailFolder::|public|Operations:List Microsoft.Graph.Beta.Models.mailFolder::|public|ParentFolderId:string Microsoft.Graph.Beta.Models.mailFolder::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.mailFolder::|public|SingleValueExtendedProperties:List @@ -185248,6 +186076,23 @@ Microsoft.Graph.Beta.Models.mailFolderCollectionResponse::|public|GetFieldDeseri Microsoft.Graph.Beta.Models.mailFolderCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.mailFolderCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.mailFolderCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MailFolderCollectionResponse +Microsoft.Graph.Beta.Models.mailFolderOperation-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.mailFolderOperation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.mailFolderOperation::|public|OdataType:string +Microsoft.Graph.Beta.Models.mailFolderOperation::|public|ResourceLocation:string +Microsoft.Graph.Beta.Models.mailFolderOperation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.mailFolderOperation::|public|Status:global.Microsoft.Graph.Beta.Models.MailFolderOperationStatus? +Microsoft.Graph.Beta.Models.mailFolderOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MailFolderOperation +Microsoft.Graph.Beta.Models.mailFolderOperationCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.mailFolderOperationCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.mailFolderOperationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.mailFolderOperationCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.mailFolderOperationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MailFolderOperationCollectionResponse +Microsoft.Graph.Beta.Models.mailFolderOperationStatus::0000-notStarted +Microsoft.Graph.Beta.Models.mailFolderOperationStatus::0001-running +Microsoft.Graph.Beta.Models.mailFolderOperationStatus::0002-succeeded +Microsoft.Graph.Beta.Models.mailFolderOperationStatus::0003-failed +Microsoft.Graph.Beta.Models.mailFolderOperationStatus::0004-unknownFutureValue Microsoft.Graph.Beta.Models.mailSearchFolder-->global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Models.mailSearchFolder::|public|constructor():void Microsoft.Graph.Beta.Models.mailSearchFolder::|public|FilterQuery:string @@ -187685,6 +188530,7 @@ Microsoft.Graph.Beta.Models.meetingActivityStatistics::|public|Serialize(writer: Microsoft.Graph.Beta.Models.meetingActivityStatistics::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MeetingActivityStatistics Microsoft.Graph.Beta.Models.meetingAttendanceReport-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.meetingAttendanceReport::|public|AttendanceRecords:List +Microsoft.Graph.Beta.Models.meetingAttendanceReport::|public|ExternalEventInformation:List Microsoft.Graph.Beta.Models.meetingAttendanceReport::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.meetingAttendanceReport::|public|MeetingEndDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.meetingAttendanceReport::|public|MeetingStartDateTime:DateTimeOffset? @@ -189309,6 +190155,19 @@ Microsoft.Graph.Beta.Models.muteParticipantsOperation::|public|OdataType:string Microsoft.Graph.Beta.Models.muteParticipantsOperation::|public|Participants:List Microsoft.Graph.Beta.Models.muteParticipantsOperation::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.muteParticipantsOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MuteParticipantsOperation +Microsoft.Graph.Beta.Models.mutualTlsOauthConfiguration-->global.Microsoft.Graph.Beta.Models.TrustedCertificateAuthorityBase +Microsoft.Graph.Beta.Models.mutualTlsOauthConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.mutualTlsOauthConfiguration::|public|DisplayName:string +Microsoft.Graph.Beta.Models.mutualTlsOauthConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.mutualTlsOauthConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.mutualTlsOauthConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.mutualTlsOauthConfiguration::|public|TlsClientAuthParameter:global.Microsoft.Graph.Beta.Models.TlsClientRegistrationMetadata? +Microsoft.Graph.Beta.Models.mutualTlsOauthConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfiguration +Microsoft.Graph.Beta.Models.mutualTlsOauthConfigurationCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.mutualTlsOauthConfigurationCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.mutualTlsOauthConfigurationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.mutualTlsOauthConfigurationCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.mutualTlsOauthConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MutualTlsOauthConfigurationCollectionResponse Microsoft.Graph.Beta.Models.namedLocation-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.namedLocation::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.namedLocation::|public|DisplayName:string @@ -189434,6 +190293,8 @@ Microsoft.Graph.Beta.Models.Networkaccess.alertType::0005-threatIntelligenceTran Microsoft.Graph.Beta.Models.Networkaccess.alertType::0006-unknownFutureValue Microsoft.Graph.Beta.Models.Networkaccess.alertType::0007-webContentBlocked Microsoft.Graph.Beta.Models.Networkaccess.alertType::0008-malware +Microsoft.Graph.Beta.Models.Networkaccess.alertType::0009-patientZero +Microsoft.Graph.Beta.Models.Networkaccess.alertType::0010-dlp Microsoft.Graph.Beta.Models.Networkaccess.algorithm::0000-md5 Microsoft.Graph.Beta.Models.Networkaccess.algorithm::0001-sha1 Microsoft.Graph.Beta.Models.Networkaccess.algorithm::0002-sha256 @@ -190311,14 +191172,6 @@ Microsoft.Graph.Beta.Models.Networkaccess.relatedMalware::|public|OdataType:stri Microsoft.Graph.Beta.Models.Networkaccess.relatedMalware::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Networkaccess.relatedMalware::|public|Severity:global.Microsoft.Graph.Beta.Models.Networkaccess.ThreatSeverity? Microsoft.Graph.Beta.Models.Networkaccess.relatedMalware::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.RelatedMalware -Microsoft.Graph.Beta.Models.Networkaccess.relatedProcess-->global.Microsoft.Graph.Beta.Models.Networkaccess.RelatedResource -Microsoft.Graph.Beta.Models.Networkaccess.relatedProcess::|public|constructor():void -Microsoft.Graph.Beta.Models.Networkaccess.relatedProcess::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.Models.Networkaccess.relatedProcess::|public|IsSuspicious:bool? -Microsoft.Graph.Beta.Models.Networkaccess.relatedProcess::|public|OdataType:string -Microsoft.Graph.Beta.Models.Networkaccess.relatedProcess::|public|ProcessName:string -Microsoft.Graph.Beta.Models.Networkaccess.relatedProcess::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.Models.Networkaccess.relatedProcess::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.RelatedProcess Microsoft.Graph.Beta.Models.Networkaccess.relatedRemoteNetwork-->global.Microsoft.Graph.Beta.Models.Networkaccess.RelatedResource Microsoft.Graph.Beta.Models.Networkaccess.relatedRemoteNetwork::|public|constructor():void Microsoft.Graph.Beta.Models.Networkaccess.relatedRemoteNetwork::|public|GetFieldDeserializers():IDictionary> @@ -191214,6 +192067,74 @@ Microsoft.Graph.Beta.Models.officeUpdateChannel::0002-deferred Microsoft.Graph.Beta.Models.officeUpdateChannel::0003-firstReleaseCurrent Microsoft.Graph.Beta.Models.officeUpdateChannel::0004-firstReleaseDeferred Microsoft.Graph.Beta.Models.officeUpdateChannel::0005-monthlyEnterprise +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims::|public|constructor():void +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims::|public|Country:string +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims::|public|Locality:string +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims::|public|OdataType:string +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims::|public|PostalCode:string +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims::|public|Region:string +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims::|public|StreetAddress:string +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OidcAddressInboundClaims +Microsoft.Graph.Beta.Models.oidcAddressInboundClaims~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.oidcClientAuthentication::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.oidcClientAuthentication::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.oidcClientAuthentication::|public|constructor():void +Microsoft.Graph.Beta.Models.oidcClientAuthentication::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.oidcClientAuthentication::|public|OdataType:string +Microsoft.Graph.Beta.Models.oidcClientAuthentication::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.oidcClientAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OidcClientAuthentication +Microsoft.Graph.Beta.Models.oidcClientAuthentication~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.oidcClientSecretAuthentication-->global.Microsoft.Graph.Beta.Models.OidcClientAuthentication +Microsoft.Graph.Beta.Models.oidcClientSecretAuthentication::|public|ClientSecret:string +Microsoft.Graph.Beta.Models.oidcClientSecretAuthentication::|public|constructor():void +Microsoft.Graph.Beta.Models.oidcClientSecretAuthentication::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.oidcClientSecretAuthentication::|public|OdataType:string +Microsoft.Graph.Beta.Models.oidcClientSecretAuthentication::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.oidcClientSecretAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OidcClientSecretAuthentication +Microsoft.Graph.Beta.Models.oidcIdentityProvider-->global.Microsoft.Graph.Beta.Models.IdentityProviderBase +Microsoft.Graph.Beta.Models.oidcIdentityProvider::|public|ClientAuthentication:global.Microsoft.Graph.Beta.Models.OidcClientAuthentication +Microsoft.Graph.Beta.Models.oidcIdentityProvider::|public|ClientId:string +Microsoft.Graph.Beta.Models.oidcIdentityProvider::|public|constructor():void +Microsoft.Graph.Beta.Models.oidcIdentityProvider::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.oidcIdentityProvider::|public|InboundClaimMapping:global.Microsoft.Graph.Beta.Models.OidcInboundClaimMappingOverride +Microsoft.Graph.Beta.Models.oidcIdentityProvider::|public|Issuer:string +Microsoft.Graph.Beta.Models.oidcIdentityProvider::|public|OdataType:string +Microsoft.Graph.Beta.Models.oidcIdentityProvider::|public|ResponseType:global.Microsoft.Graph.Beta.Models.OidcResponseType? +Microsoft.Graph.Beta.Models.oidcIdentityProvider::|public|Scope:string +Microsoft.Graph.Beta.Models.oidcIdentityProvider::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.oidcIdentityProvider::|public|WellKnownEndpoint:string +Microsoft.Graph.Beta.Models.oidcIdentityProvider::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OidcIdentityProvider +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|Address:global.Microsoft.Graph.Beta.Models.OidcAddressInboundClaims +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|constructor():void +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|Email:string +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|EmailVerified:string +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|FamilyName:string +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|GivenName:string +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|Name:string +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|OdataType:string +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|PhoneNumber:string +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|PhoneNumberVerified:string +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|public|Sub:string +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OidcInboundClaimMappingOverride +Microsoft.Graph.Beta.Models.oidcInboundClaimMappingOverride~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.oidcPrivateJwtKeyClientAuthentication-->global.Microsoft.Graph.Beta.Models.OidcClientAuthentication +Microsoft.Graph.Beta.Models.oidcPrivateJwtKeyClientAuthentication::|public|constructor():void +Microsoft.Graph.Beta.Models.oidcPrivateJwtKeyClientAuthentication::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.oidcPrivateJwtKeyClientAuthentication::|public|OdataType:string +Microsoft.Graph.Beta.Models.oidcPrivateJwtKeyClientAuthentication::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.oidcPrivateJwtKeyClientAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OidcPrivateJwtKeyClientAuthentication +Microsoft.Graph.Beta.Models.oidcResponseType::0000-code +Microsoft.Graph.Beta.Models.oidcResponseType::0001-id_token +Microsoft.Graph.Beta.Models.oidcResponseType::0002-token +Microsoft.Graph.Beta.Models.oidcResponseType::0003-unknownFutureValue Microsoft.Graph.Beta.Models.omaSetting::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.omaSetting::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.omaSetting::|public|constructor():void @@ -191902,6 +192823,9 @@ Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|UseAlternateUrlForTran Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|VerifiedCustomDomainCertificatesMetadata:global.Microsoft.Graph.Beta.Models.VerifiedCustomDomainCertificatesMetadata Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|VerifiedCustomDomainKeyCredential:global.Microsoft.Graph.Beta.Models.KeyCredential Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|VerifiedCustomDomainPasswordCredential:global.Microsoft.Graph.Beta.Models.PasswordCredential +Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|WafAllowedHeaders:global.Microsoft.Graph.Beta.Models.WafAllowedHeadersDictionary +Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|WafIpRanges:List +Microsoft.Graph.Beta.Models.onPremisesPublishing::|public|WafProvider:string Microsoft.Graph.Beta.Models.onPremisesPublishing::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.OnPremisesPublishing Microsoft.Graph.Beta.Models.onPremisesPublishingProfile-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.onPremisesPublishingProfile::|public|AgentGroups:List @@ -199683,6 +200607,21 @@ Microsoft.Graph.Beta.Models.riskyUserHistoryItemCollectionResponse::|public|GetF Microsoft.Graph.Beta.Models.riskyUserHistoryItemCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.riskyUserHistoryItemCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.riskyUserHistoryItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.RiskyUserHistoryItemCollectionResponse +Microsoft.Graph.Beta.Models.roadmap-->global.Microsoft.Graph.Beta.Models.ChangeItemBase +Microsoft.Graph.Beta.Models.roadmap::|public|Category:string +Microsoft.Graph.Beta.Models.roadmap::|public|ChangeItemState:global.Microsoft.Graph.Beta.Models.ChangeItemState? +Microsoft.Graph.Beta.Models.roadmap::|public|constructor():void +Microsoft.Graph.Beta.Models.roadmap::|public|DeliveryStage:global.Microsoft.Graph.Beta.Models.RoadmapItemDeliveryStage? +Microsoft.Graph.Beta.Models.roadmap::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.roadmap::|public|GotoLink:string +Microsoft.Graph.Beta.Models.roadmap::|public|OdataType:string +Microsoft.Graph.Beta.Models.roadmap::|public|PublishedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.roadmap::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.roadmap::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Roadmap +Microsoft.Graph.Beta.Models.roadmapItemDeliveryStage::0000-privatePreview +Microsoft.Graph.Beta.Models.roadmapItemDeliveryStage::0001-publicPreview +Microsoft.Graph.Beta.Models.roadmapItemDeliveryStage::0002-ga +Microsoft.Graph.Beta.Models.roadmapItemDeliveryStage::0003-unknownFutureValue Microsoft.Graph.Beta.Models.roleAssignment-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.roleAssignment::|public|Description:string Microsoft.Graph.Beta.Models.roleAssignment::|public|DisplayName:string @@ -201351,6 +202290,113 @@ Microsoft.Graph.Beta.Models.Security.antispamDirectionality::0001-inbound Microsoft.Graph.Beta.Models.Security.antispamDirectionality::0002-outbound Microsoft.Graph.Beta.Models.Security.antispamDirectionality::0003-intraOrg Microsoft.Graph.Beta.Models.Security.antispamDirectionality::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.appCategory::0000-security +Microsoft.Graph.Beta.Models.Security.appCategory::0001-collaboration +Microsoft.Graph.Beta.Models.Security.appCategory::0002-hostingServices +Microsoft.Graph.Beta.Models.Security.appCategory::0003-onlineMeetings +Microsoft.Graph.Beta.Models.Security.appCategory::0004-newsAndEntertainment +Microsoft.Graph.Beta.Models.Security.appCategory::0005-eCommerce +Microsoft.Graph.Beta.Models.Security.appCategory::0006-education +Microsoft.Graph.Beta.Models.Security.appCategory::0007-cloudStorage +Microsoft.Graph.Beta.Models.Security.appCategory::0008-marketing +Microsoft.Graph.Beta.Models.Security.appCategory::0009-operationsManagement +Microsoft.Graph.Beta.Models.Security.appCategory::0010-health +Microsoft.Graph.Beta.Models.Security.appCategory::0011-advertising +Microsoft.Graph.Beta.Models.Security.appCategory::0012-productivity +Microsoft.Graph.Beta.Models.Security.appCategory::0013-accountingAndFinance +Microsoft.Graph.Beta.Models.Security.appCategory::0014-contentManagement +Microsoft.Graph.Beta.Models.Security.appCategory::0015-contentSharing +Microsoft.Graph.Beta.Models.Security.appCategory::0016-businessManagement +Microsoft.Graph.Beta.Models.Security.appCategory::0017-communications +Microsoft.Graph.Beta.Models.Security.appCategory::0018-dataAnalytics +Microsoft.Graph.Beta.Models.Security.appCategory::0019-businessIntelligence +Microsoft.Graph.Beta.Models.Security.appCategory::0020-webemail +Microsoft.Graph.Beta.Models.Security.appCategory::0021-codeHosting +Microsoft.Graph.Beta.Models.Security.appCategory::0022-webAnalytics +Microsoft.Graph.Beta.Models.Security.appCategory::0023-socialNetwork +Microsoft.Graph.Beta.Models.Security.appCategory::0024-crm +Microsoft.Graph.Beta.Models.Security.appCategory::0025-forums +Microsoft.Graph.Beta.Models.Security.appCategory::0026-humanResourceManagement +Microsoft.Graph.Beta.Models.Security.appCategory::0027-transportationAndTravel +Microsoft.Graph.Beta.Models.Security.appCategory::0028-productDesign +Microsoft.Graph.Beta.Models.Security.appCategory::0029-sales +Microsoft.Graph.Beta.Models.Security.appCategory::0030-cloudComputingPlatform +Microsoft.Graph.Beta.Models.Security.appCategory::0031-projectManagement +Microsoft.Graph.Beta.Models.Security.appCategory::0032-personalInstantMessaging +Microsoft.Graph.Beta.Models.Security.appCategory::0033-developmentTools +Microsoft.Graph.Beta.Models.Security.appCategory::0034-itServices +Microsoft.Graph.Beta.Models.Security.appCategory::0035-supplyChainAndLogistics +Microsoft.Graph.Beta.Models.Security.appCategory::0036-propertyManagement +Microsoft.Graph.Beta.Models.Security.appCategory::0037-customerSupport +Microsoft.Graph.Beta.Models.Security.appCategory::0038-internetOfThings +Microsoft.Graph.Beta.Models.Security.appCategory::0039-vendorManagementSystems +Microsoft.Graph.Beta.Models.Security.appCategory::0040-websiteMonitoring +Microsoft.Graph.Beta.Models.Security.appCategory::0041-generativeAi +Microsoft.Graph.Beta.Models.Security.appCategory::0042-unknown +Microsoft.Graph.Beta.Models.Security.appCategory::0043-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.appInfoCsaStarLevel::0000-selfAssessment +Microsoft.Graph.Beta.Models.Security.appInfoCsaStarLevel::0001-certification +Microsoft.Graph.Beta.Models.Security.appInfoCsaStarLevel::0002-attestation +Microsoft.Graph.Beta.Models.Security.appInfoCsaStarLevel::0003-cStarAssessment +Microsoft.Graph.Beta.Models.Security.appInfoCsaStarLevel::0004-continuousMonitoring +Microsoft.Graph.Beta.Models.Security.appInfoCsaStarLevel::0005-unknown +Microsoft.Graph.Beta.Models.Security.appInfoCsaStarLevel::0006-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.appInfoDataAtRestEncryptionMethod::0000-aes +Microsoft.Graph.Beta.Models.Security.appInfoDataAtRestEncryptionMethod::0001-bitLocker +Microsoft.Graph.Beta.Models.Security.appInfoDataAtRestEncryptionMethod::0002-blowfish +Microsoft.Graph.Beta.Models.Security.appInfoDataAtRestEncryptionMethod::0003-des3 +Microsoft.Graph.Beta.Models.Security.appInfoDataAtRestEncryptionMethod::0004-des +Microsoft.Graph.Beta.Models.Security.appInfoDataAtRestEncryptionMethod::0005-rc4 +Microsoft.Graph.Beta.Models.Security.appInfoDataAtRestEncryptionMethod::0006-rsA +Microsoft.Graph.Beta.Models.Security.appInfoDataAtRestEncryptionMethod::0007-notSupported +Microsoft.Graph.Beta.Models.Security.appInfoDataAtRestEncryptionMethod::0008-unknown +Microsoft.Graph.Beta.Models.Security.appInfoDataAtRestEncryptionMethod::0009-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.appInfoDataRetentionPolicy::0000-dataRetained +Microsoft.Graph.Beta.Models.Security.appInfoDataRetentionPolicy::0001-deletedImmediately +Microsoft.Graph.Beta.Models.Security.appInfoDataRetentionPolicy::0002-deletedWithinTwoWeeks +Microsoft.Graph.Beta.Models.Security.appInfoDataRetentionPolicy::0003-deletedWithinOneMonth +Microsoft.Graph.Beta.Models.Security.appInfoDataRetentionPolicy::0004-deletedWithinThreeMonths +Microsoft.Graph.Beta.Models.Security.appInfoDataRetentionPolicy::0005-deletedWithinMoreThanThreeMonths +Microsoft.Graph.Beta.Models.Security.appInfoDataRetentionPolicy::0006-unknown +Microsoft.Graph.Beta.Models.Security.appInfoDataRetentionPolicy::0007-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.appInfoEncryptionProtocol::0000-tls1_0 +Microsoft.Graph.Beta.Models.Security.appInfoEncryptionProtocol::0001-tls1_1 +Microsoft.Graph.Beta.Models.Security.appInfoEncryptionProtocol::0002-tls1_2 +Microsoft.Graph.Beta.Models.Security.appInfoEncryptionProtocol::0003-tls1_3 +Microsoft.Graph.Beta.Models.Security.appInfoEncryptionProtocol::0004-notApplicable +Microsoft.Graph.Beta.Models.Security.appInfoEncryptionProtocol::0005-notSupported +Microsoft.Graph.Beta.Models.Security.appInfoEncryptionProtocol::0006-unknown +Microsoft.Graph.Beta.Models.Security.appInfoEncryptionProtocol::0007-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.appInfoEncryptionProtocol::0008-ssl3 +Microsoft.Graph.Beta.Models.Security.appInfoFedRampLevel::0000-high +Microsoft.Graph.Beta.Models.Security.appInfoFedRampLevel::0001-moderate +Microsoft.Graph.Beta.Models.Security.appInfoFedRampLevel::0002-low +Microsoft.Graph.Beta.Models.Security.appInfoFedRampLevel::0003-liSaaS +Microsoft.Graph.Beta.Models.Security.appInfoFedRampLevel::0004-unknown +Microsoft.Graph.Beta.Models.Security.appInfoFedRampLevel::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.appInfoFedRampLevel::0006-notSupported +Microsoft.Graph.Beta.Models.Security.appInfoHolding::0000-private +Microsoft.Graph.Beta.Models.Security.appInfoHolding::0001-public +Microsoft.Graph.Beta.Models.Security.appInfoHolding::0002-unknown +Microsoft.Graph.Beta.Models.Security.appInfoHolding::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.appInfoPciDssVersion::0000-v1 +Microsoft.Graph.Beta.Models.Security.appInfoPciDssVersion::0001-v2 +Microsoft.Graph.Beta.Models.Security.appInfoPciDssVersion::0002-v3 +Microsoft.Graph.Beta.Models.Security.appInfoPciDssVersion::0003-v3_1 +Microsoft.Graph.Beta.Models.Security.appInfoPciDssVersion::0004-v3_2 +Microsoft.Graph.Beta.Models.Security.appInfoPciDssVersion::0005-v3_2_1 +Microsoft.Graph.Beta.Models.Security.appInfoPciDssVersion::0006-notSupported +Microsoft.Graph.Beta.Models.Security.appInfoPciDssVersion::0007-unknown +Microsoft.Graph.Beta.Models.Security.appInfoPciDssVersion::0008-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.appInfoPciDssVersion::0009-v4 +Microsoft.Graph.Beta.Models.Security.appInfoUploadedDataTypes::0000-documents +Microsoft.Graph.Beta.Models.Security.appInfoUploadedDataTypes::0001-mediaFiles +Microsoft.Graph.Beta.Models.Security.appInfoUploadedDataTypes::0002-codingFiles +Microsoft.Graph.Beta.Models.Security.appInfoUploadedDataTypes::0003-creditCards +Microsoft.Graph.Beta.Models.Security.appInfoUploadedDataTypes::0004-databaseFiles +Microsoft.Graph.Beta.Models.Security.appInfoUploadedDataTypes::0005-none +Microsoft.Graph.Beta.Models.Security.appInfoUploadedDataTypes::0006-unknown +Microsoft.Graph.Beta.Models.Security.appInfoUploadedDataTypes::0007-unknownFutureValue Microsoft.Graph.Beta.Models.Security.applyLabelAction-->global.Microsoft.Graph.Beta.Models.Security.InformationProtectionAction Microsoft.Graph.Beta.Models.Security.applyLabelAction::|public|Actions:List Microsoft.Graph.Beta.Models.Security.applyLabelAction::|public|ActionSource:global.Microsoft.Graph.Beta.Models.Security.ActionSource? @@ -202050,6 +203096,33 @@ Microsoft.Graph.Beta.Models.Security.classificationResult::|public|SensitiveType Microsoft.Graph.Beta.Models.Security.classificationResult::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.classificationResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.ClassificationResult Microsoft.Graph.Beta.Models.Security.classificationResult~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|AnonymizeMachineData:bool? +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|AnonymizeUserData:bool? +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|Description:string +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|DisplayName:string +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|IsSnapshotReport:bool? +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|LastDataReceivedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|LogDataProvider:global.Microsoft.Graph.Beta.Models.Security.LogDataProvider? +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|LogFileCount:int? +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|ReceiverProtocol:global.Microsoft.Graph.Beta.Models.Security.ReceiverProtocol? +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|SupportedEntityTypes:List +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|public|SupportedTrafficTypes:List +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReportCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReportCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReportCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReportCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.Security.cloudAppDiscoveryReportCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReportCollectionResponse +Microsoft.Graph.Beta.Models.Security.cloudAppInfoState::0000-true +Microsoft.Graph.Beta.Models.Security.cloudAppInfoState::0001-false +Microsoft.Graph.Beta.Models.Security.cloudAppInfoState::0002-unknown +Microsoft.Graph.Beta.Models.Security.cloudAppInfoState::0003-unknownFutureValue Microsoft.Graph.Beta.Models.Security.cloudApplicationEvidence-->global.Microsoft.Graph.Beta.Models.Security.AlertEvidence Microsoft.Graph.Beta.Models.Security.cloudApplicationEvidence::|public|AppId:long? Microsoft.Graph.Beta.Models.Security.cloudApplicationEvidence::|public|constructor():void @@ -202368,6 +203441,18 @@ Microsoft.Graph.Beta.Models.Security.dataCenterSecurityCmdletAuditRecord::|publi Microsoft.Graph.Beta.Models.Security.dataCenterSecurityCmdletAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.dataCenterSecurityCmdletAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.dataCenterSecurityCmdletAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DataCenterSecurityCmdletAuditRecord +Microsoft.Graph.Beta.Models.Security.dataDiscoveryReport-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.dataDiscoveryReport::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.dataDiscoveryReport::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.dataDiscoveryReport::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.dataDiscoveryReport::|public|UploadedStreams:List +Microsoft.Graph.Beta.Models.Security.dataDiscoveryReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport +Microsoft.Graph.Beta.Models.Security.dataDiscoveryRoot-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.dataDiscoveryRoot::|public|CloudAppDiscovery:global.Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport +Microsoft.Graph.Beta.Models.Security.dataDiscoveryRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.dataDiscoveryRoot::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.dataDiscoveryRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.dataDiscoveryRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot Microsoft.Graph.Beta.Models.Security.dataGovernanceAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.dataGovernanceAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.dataGovernanceAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -202689,6 +203774,142 @@ Microsoft.Graph.Beta.Models.Security.disableUserResponseAction::|public|Identifi Microsoft.Graph.Beta.Models.Security.disableUserResponseAction::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.disableUserResponseAction::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.disableUserResponseAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DisableUserResponseAction +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|AppInfo:global.Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppInfo +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|Category:global.Microsoft.Graph.Beta.Models.Security.AppCategory? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|Description:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|DisplayName:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|Domains:List +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|DownloadNetworkTrafficInBytes:long? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|FirstSeenDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|IpAddressCount:long? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|IpAddresses:List +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|LastSeenDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|RiskScore:long? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|Tags:List +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|TransactionCount:long? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|UploadNetworkTrafficInBytes:long? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|UserCount:long? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|public|Users:List +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppDetail +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDevice::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDevice::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDevice::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDevice::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDevice::|public|Name:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDevice::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDevice::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDevice::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppDevice +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppDevice~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|CsaStarLevel:global.Microsoft.Graph.Beta.Models.Security.AppInfoCsaStarLevel? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|DataAtRestEncryptionMethod:global.Microsoft.Graph.Beta.Models.Security.AppInfoDataAtRestEncryptionMethod? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|DataCenter:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|DataRetentionPolicy:global.Microsoft.Graph.Beta.Models.Security.AppInfoDataRetentionPolicy? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|DataTypes:global.Microsoft.Graph.Beta.Models.Security.AppInfoUploadedDataTypes? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|DomainRegistrationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|EncryptionProtocol:global.Microsoft.Graph.Beta.Models.Security.AppInfoEncryptionProtocol? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|FedRampLevel:global.Microsoft.Graph.Beta.Models.Security.AppInfoFedRampLevel? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|Founded:int? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|GdprReadinessStatement:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|Headquarters:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|Holding:global.Microsoft.Graph.Beta.Models.Security.AppInfoHolding? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|HostingCompany:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsAdminAuditTrail:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsCobitCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsCoppaCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsDataAuditTrail:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsDataClassification:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsDataOwnership:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsDisasterRecoveryPlan:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsDmca:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsFerpaCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsFfiecCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsFileSharing:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsFinraCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsFismaCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGaapCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprDataProtectionImpactAssessment:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprDataProtectionOfficer:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprDataProtectionSecureCrossBorderDataTransfer:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprImpactAssessment:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprLawfulBasisForProcessing:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprReportDataBreaches:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprRightsRelatedToAutomatedDecisionMaking:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprRightToAccess:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprRightToBeInformed:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprRightToDataPortablility:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprRightToErasure:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprRightToObject:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprRightToRectification:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprRightToRestrictionOfProcessing:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGdprSecureCrossBorderDataControl:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsGlbaCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsHipaaCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsHitrustCsfCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsHttpSecurityHeadersContentSecurityPolicy:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsHttpSecurityHeadersStrictTransportSecurity:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsHttpSecurityHeadersXContentTypeOptions:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsHttpSecurityHeadersXFrameOptions:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsHttpSecurityHeadersXXssProtection:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsIpAddressRestriction:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsIsae3402Compliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsIso27001Compliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsIso27017Compliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsIso27018Compliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsItarCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsMultiFactorAuthentication:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsPasswordPolicy:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsPasswordPolicyChangePasswordPeriod:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsPasswordPolicyCharacterCombination:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsPasswordPolicyPasswordHistoryAndReuse:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsPasswordPolicyPasswordLengthLimit:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsPasswordPolicyPersonalInformationUse:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsPenetrationTesting:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsPrivacyShieldCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsRememberPassword:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsRequiresUserAuthentication:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsSoc1Compliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsSoc2Compliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsSoc3Compliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsSoxCompliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsSp80053Compliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsSsae16Compliant:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsSupportsSaml:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsTrustedCertificate:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsUserAuditTrail:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsUserCanUploadData:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsUserRolesSupport:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|IsValidCertificateName:global.Microsoft.Graph.Beta.Models.Security.CloudAppInfoState? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|LatestBreachDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|LogonUrls:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|PciDssVersion:global.Microsoft.Graph.Beta.Models.Security.AppInfoPciDssVersion? +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|public|Vendor:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppInfo +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppIPAddress::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppIPAddress::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppIPAddress::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppIPAddress::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppIPAddress::|public|IpAddress:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppIPAddress::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppIPAddress::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppIPAddress::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppIPAddress +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppIPAddress~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppUser::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppUser::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppUser::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppUser::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppUser::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppUser::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppUser::|public|UserIdentifier:string +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppUser::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppUser +Microsoft.Graph.Beta.Models.Security.discoveredCloudAppUser~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.Security.discoveryAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.discoveryAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.discoveryAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -203046,6 +204267,19 @@ Microsoft.Graph.Beta.Models.Security.enableConsentRecord::|public|GetFieldDeseri Microsoft.Graph.Beta.Models.Security.enableConsentRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.enableConsentRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.enableConsentRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.EnableConsentRecord +Microsoft.Graph.Beta.Models.Security.endpointDiscoveredCloudAppDetail-->global.Microsoft.Graph.Beta.Models.Security.DiscoveredCloudAppDetail +Microsoft.Graph.Beta.Models.Security.endpointDiscoveredCloudAppDetail::|public|DeviceCount:long? +Microsoft.Graph.Beta.Models.Security.endpointDiscoveredCloudAppDetail::|public|Devices:List +Microsoft.Graph.Beta.Models.Security.endpointDiscoveredCloudAppDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.endpointDiscoveredCloudAppDetail::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.endpointDiscoveredCloudAppDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.endpointDiscoveredCloudAppDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.EndpointDiscoveredCloudAppDetail +Microsoft.Graph.Beta.Models.Security.entityType::0000-userName +Microsoft.Graph.Beta.Models.Security.entityType::0001-ipAddress +Microsoft.Graph.Beta.Models.Security.entityType::0002-machineName +Microsoft.Graph.Beta.Models.Security.entityType::0003-other +Microsoft.Graph.Beta.Models.Security.entityType::0004-unknown +Microsoft.Graph.Beta.Models.Security.entityType::0005-unknownFutureValue Microsoft.Graph.Beta.Models.Security.epicSMSLinkRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.epicSMSLinkRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.epicSMSLinkRecord::|public|GetFieldDeserializers():IDictionary> @@ -204255,6 +205489,63 @@ Microsoft.Graph.Beta.Models.Security.largeContentMetadataAuditRecord::|public|Ge Microsoft.Graph.Beta.Models.Security.largeContentMetadataAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.largeContentMetadataAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.largeContentMetadataAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.LargeContentMetadataAuditRecord +Microsoft.Graph.Beta.Models.Security.logDataProvider::0000-barracuda +Microsoft.Graph.Beta.Models.Security.logDataProvider::0001-bluecoat +Microsoft.Graph.Beta.Models.Security.logDataProvider::0002-checkpoint +Microsoft.Graph.Beta.Models.Security.logDataProvider::0003-ciscoAsa +Microsoft.Graph.Beta.Models.Security.logDataProvider::0004-ciscoIronportProxy +Microsoft.Graph.Beta.Models.Security.logDataProvider::0005-fortigate +Microsoft.Graph.Beta.Models.Security.logDataProvider::0006-paloAlto +Microsoft.Graph.Beta.Models.Security.logDataProvider::0007-squid +Microsoft.Graph.Beta.Models.Security.logDataProvider::0008-zscaler +Microsoft.Graph.Beta.Models.Security.logDataProvider::0009-mcafeeSwg +Microsoft.Graph.Beta.Models.Security.logDataProvider::0010-ciscoScanSafe +Microsoft.Graph.Beta.Models.Security.logDataProvider::0011-juniperSrx +Microsoft.Graph.Beta.Models.Security.logDataProvider::0012-sophosSg +Microsoft.Graph.Beta.Models.Security.logDataProvider::0013-websenseV75 +Microsoft.Graph.Beta.Models.Security.logDataProvider::0014-websenseSiemCef +Microsoft.Graph.Beta.Models.Security.logDataProvider::0015-machineZoneMeraki +Microsoft.Graph.Beta.Models.Security.logDataProvider::0016-squidNative +Microsoft.Graph.Beta.Models.Security.logDataProvider::0017-ciscoFwsm +Microsoft.Graph.Beta.Models.Security.logDataProvider::0018-microsoftIsaW3C +Microsoft.Graph.Beta.Models.Security.logDataProvider::0019-sonicwall +Microsoft.Graph.Beta.Models.Security.logDataProvider::0020-sophosCyberoam +Microsoft.Graph.Beta.Models.Security.logDataProvider::0021-clavister +Microsoft.Graph.Beta.Models.Security.logDataProvider::0022-customParser +Microsoft.Graph.Beta.Models.Security.logDataProvider::0023-juniperSsg +Microsoft.Graph.Beta.Models.Security.logDataProvider::0024-zscalerQradar +Microsoft.Graph.Beta.Models.Security.logDataProvider::0025-juniperSrxSd +Microsoft.Graph.Beta.Models.Security.logDataProvider::0026-juniperSrxWelf +Microsoft.Graph.Beta.Models.Security.logDataProvider::0027-microsoftConditionalAppAccess +Microsoft.Graph.Beta.Models.Security.logDataProvider::0028-ciscoAsaFirepower +Microsoft.Graph.Beta.Models.Security.logDataProvider::0029-genericCef +Microsoft.Graph.Beta.Models.Security.logDataProvider::0030-genericLeef +Microsoft.Graph.Beta.Models.Security.logDataProvider::0031-genericW3C +Microsoft.Graph.Beta.Models.Security.logDataProvider::0032-iFilter +Microsoft.Graph.Beta.Models.Security.logDataProvider::0033-checkpointXml +Microsoft.Graph.Beta.Models.Security.logDataProvider::0034-checkpointSmartViewTracker +Microsoft.Graph.Beta.Models.Security.logDataProvider::0035-barracudaNextGenFw +Microsoft.Graph.Beta.Models.Security.logDataProvider::0036-barracudaNextGenFwWeblog +Microsoft.Graph.Beta.Models.Security.logDataProvider::0037-microsoftDefenderForEndpoint +Microsoft.Graph.Beta.Models.Security.logDataProvider::0038-zscalerCef +Microsoft.Graph.Beta.Models.Security.logDataProvider::0039-sophosXg +Microsoft.Graph.Beta.Models.Security.logDataProvider::0040-iboss +Microsoft.Graph.Beta.Models.Security.logDataProvider::0041-forcepoint +Microsoft.Graph.Beta.Models.Security.logDataProvider::0042-fortios +Microsoft.Graph.Beta.Models.Security.logDataProvider::0043-ciscoIronportWsaIi +Microsoft.Graph.Beta.Models.Security.logDataProvider::0044-paloAltoLeef +Microsoft.Graph.Beta.Models.Security.logDataProvider::0045-forcepointLeef +Microsoft.Graph.Beta.Models.Security.logDataProvider::0046-stormshield +Microsoft.Graph.Beta.Models.Security.logDataProvider::0047-contentkeeper +Microsoft.Graph.Beta.Models.Security.logDataProvider::0048-ciscoIronportWsaIii +Microsoft.Graph.Beta.Models.Security.logDataProvider::0049-checkpointCef +Microsoft.Graph.Beta.Models.Security.logDataProvider::0050-corrata +Microsoft.Graph.Beta.Models.Security.logDataProvider::0051-ciscoFirepowerV6 +Microsoft.Graph.Beta.Models.Security.logDataProvider::0052-menloSecurityCef +Microsoft.Graph.Beta.Models.Security.logDataProvider::0053-watchguardXtm +Microsoft.Graph.Beta.Models.Security.logDataProvider::0054-openSystemsSecureWebGateway +Microsoft.Graph.Beta.Models.Security.logDataProvider::0055-wandera +Microsoft.Graph.Beta.Models.Security.logDataProvider::0056-unknownFutureValue Microsoft.Graph.Beta.Models.Security.loggedOnUser::|public|AccountName:string Microsoft.Graph.Beta.Models.Security.loggedOnUser::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.Security.loggedOnUser::|public|BackingStore:IBackingStore @@ -205183,6 +206474,12 @@ Microsoft.Graph.Beta.Models.Security.queryCondition~~>IAdditionalDataHolder; IBa Microsoft.Graph.Beta.Models.Security.queryType::0000-files Microsoft.Graph.Beta.Models.Security.queryType::0001-messages Microsoft.Graph.Beta.Models.Security.queryType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.receiverProtocol::0000-ftp +Microsoft.Graph.Beta.Models.Security.receiverProtocol::0001-ftps +Microsoft.Graph.Beta.Models.Security.receiverProtocol::0002-syslogUdp +Microsoft.Graph.Beta.Models.Security.receiverProtocol::0003-syslogTcp +Microsoft.Graph.Beta.Models.Security.receiverProtocol::0004-syslogTls +Microsoft.Graph.Beta.Models.Security.receiverProtocol::0005-unknownFutureValue Microsoft.Graph.Beta.Models.Security.recommendedHuntingQuery::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.Security.recommendedHuntingQuery::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.Security.recommendedHuntingQuery::|public|constructor():void @@ -206188,6 +207485,10 @@ Microsoft.Graph.Beta.Models.Security.topicModelingSettings::|public|Serialize(wr Microsoft.Graph.Beta.Models.Security.topicModelingSettings::|public|TopicCount:int? Microsoft.Graph.Beta.Models.Security.topicModelingSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.TopicModelingSettings Microsoft.Graph.Beta.Models.Security.topicModelingSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Security.trafficType::0000-downloadedBytes +Microsoft.Graph.Beta.Models.Security.trafficType::0001-uploadedBytes +Microsoft.Graph.Beta.Models.Security.trafficType::0002-unknown +Microsoft.Graph.Beta.Models.Security.trafficType::0003-unknownFutureValue Microsoft.Graph.Beta.Models.Security.triggersRoot-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.Security.triggersRoot::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.Security.triggersRoot::|public|OdataType:string @@ -207138,6 +208439,7 @@ Microsoft.Graph.Beta.Models.serviceHealthStatus::0017-unknownFutureValue Microsoft.Graph.Beta.Models.serviceHostedMediaConfig-->global.Microsoft.Graph.Beta.Models.MediaConfig Microsoft.Graph.Beta.Models.serviceHostedMediaConfig::|public|constructor():void Microsoft.Graph.Beta.Models.serviceHostedMediaConfig::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.serviceHostedMediaConfig::|public|LiveCaptionOptions:global.Microsoft.Graph.Beta.Models.LiveCaptionOptions Microsoft.Graph.Beta.Models.serviceHostedMediaConfig::|public|OdataType:string Microsoft.Graph.Beta.Models.serviceHostedMediaConfig::|public|PreFetchMedia:List Microsoft.Graph.Beta.Models.serviceHostedMediaConfig::|public|Serialize(writer:ISerializationWriter):void @@ -211039,6 +212341,12 @@ Microsoft.Graph.Beta.Models.teleconferenceDeviceVideoQuality::|public|GetFieldDe Microsoft.Graph.Beta.Models.teleconferenceDeviceVideoQuality::|public|OdataType:string Microsoft.Graph.Beta.Models.teleconferenceDeviceVideoQuality::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.teleconferenceDeviceVideoQuality::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TeleconferenceDeviceVideoQuality +Microsoft.Graph.Beta.Models.template-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.template::|public|DeviceTemplates:List +Microsoft.Graph.Beta.Models.template::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.template::|public|OdataType:string +Microsoft.Graph.Beta.Models.template::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.template::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Template Microsoft.Graph.Beta.Models.templateApplicationLevel::0000-none Microsoft.Graph.Beta.Models.templateApplicationLevel::0001-newPartners Microsoft.Graph.Beta.Models.templateApplicationLevel::0002-existingPartners @@ -211799,6 +213107,12 @@ Microsoft.Graph.Beta.Models.tlpLevel::0002-green Microsoft.Graph.Beta.Models.tlpLevel::0003-amber Microsoft.Graph.Beta.Models.tlpLevel::0004-red Microsoft.Graph.Beta.Models.tlpLevel::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.tlsClientRegistrationMetadata::0000-tls_client_auth_subject_dn +Microsoft.Graph.Beta.Models.tlsClientRegistrationMetadata::0001-tls_client_auth_san_dns +Microsoft.Graph.Beta.Models.tlsClientRegistrationMetadata::0002-tls_client_auth_san_uri +Microsoft.Graph.Beta.Models.tlsClientRegistrationMetadata::0003-tls_client_auth_san_ip +Microsoft.Graph.Beta.Models.tlsClientRegistrationMetadata::0004-tls_client_auth_san_email +Microsoft.Graph.Beta.Models.tlsClientRegistrationMetadata::0005-unknownFutureValue Microsoft.Graph.Beta.Models.todo-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.todo::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.todo::|public|Lists:List @@ -212215,6 +213529,13 @@ Microsoft.Graph.Beta.Models.trustedCertificateAuthorityAsEntityBase::|public|Oda Microsoft.Graph.Beta.Models.trustedCertificateAuthorityAsEntityBase::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.trustedCertificateAuthorityAsEntityBase::|public|TrustedCertificateAuthorities:List Microsoft.Graph.Beta.Models.trustedCertificateAuthorityAsEntityBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TrustedCertificateAuthorityAsEntityBase +Microsoft.Graph.Beta.Models.trustedCertificateAuthorityBase-->global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.Models.trustedCertificateAuthorityBase::|public|CertificateAuthorities:List +Microsoft.Graph.Beta.Models.trustedCertificateAuthorityBase::|public|constructor():void +Microsoft.Graph.Beta.Models.trustedCertificateAuthorityBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.trustedCertificateAuthorityBase::|public|OdataType:string +Microsoft.Graph.Beta.Models.trustedCertificateAuthorityBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.trustedCertificateAuthorityBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TrustedCertificateAuthorityBase Microsoft.Graph.Beta.Models.trustFramework::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.trustFramework::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.trustFramework::|public|constructor():void @@ -212864,6 +214185,11 @@ Microsoft.Graph.Beta.Models.unsupportedGroupPolicyExtensionCollectionResponse::| Microsoft.Graph.Beta.Models.unsupportedGroupPolicyExtensionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.unsupportedGroupPolicyExtensionCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.unsupportedGroupPolicyExtensionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UnsupportedGroupPolicyExtensionCollectionResponse +Microsoft.Graph.Beta.Models.updateAllMessagesReadStateOperation-->global.Microsoft.Graph.Beta.Models.MailFolderOperation +Microsoft.Graph.Beta.Models.updateAllMessagesReadStateOperation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.updateAllMessagesReadStateOperation::|public|OdataType:string +Microsoft.Graph.Beta.Models.updateAllMessagesReadStateOperation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.updateAllMessagesReadStateOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UpdateAllMessagesReadStateOperation Microsoft.Graph.Beta.Models.updateAllowedCombinationsResult::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.updateAllowedCombinationsResult::|public|AdditionalInformation:string Microsoft.Graph.Beta.Models.updateAllowedCombinationsResult::|public|BackingStore:IBackingStore @@ -215034,6 +216360,7 @@ Microsoft.Graph.Beta.Models.virtualEvent::|public|CreatedBy:global.Microsoft.Gra Microsoft.Graph.Beta.Models.virtualEvent::|public|Description:global.Microsoft.Graph.Beta.Models.ItemBody Microsoft.Graph.Beta.Models.virtualEvent::|public|DisplayName:string Microsoft.Graph.Beta.Models.virtualEvent::|public|EndDateTime:global.Microsoft.Graph.Beta.Models.DateTimeTimeZone +Microsoft.Graph.Beta.Models.virtualEvent::|public|ExternalEventInformation:List Microsoft.Graph.Beta.Models.virtualEvent::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.virtualEvent::|public|OdataType:string Microsoft.Graph.Beta.Models.virtualEvent::|public|Presenters:List @@ -215054,6 +216381,26 @@ Microsoft.Graph.Beta.Models.virtualEventCollectionResponse::|public|GetFieldDese Microsoft.Graph.Beta.Models.virtualEventCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.virtualEventCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.virtualEventCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.VirtualEventCollectionResponse +Microsoft.Graph.Beta.Models.virtualEventExternalInformation::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.virtualEventExternalInformation::|public|ApplicationId:string +Microsoft.Graph.Beta.Models.virtualEventExternalInformation::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.virtualEventExternalInformation::|public|constructor():void +Microsoft.Graph.Beta.Models.virtualEventExternalInformation::|public|ExternalEventId:string +Microsoft.Graph.Beta.Models.virtualEventExternalInformation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.virtualEventExternalInformation::|public|OdataType:string +Microsoft.Graph.Beta.Models.virtualEventExternalInformation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.virtualEventExternalInformation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.VirtualEventExternalInformation +Microsoft.Graph.Beta.Models.virtualEventExternalInformation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.virtualEventExternalRegistrationInformation::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.virtualEventExternalRegistrationInformation::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.virtualEventExternalRegistrationInformation::|public|constructor():void +Microsoft.Graph.Beta.Models.virtualEventExternalRegistrationInformation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.virtualEventExternalRegistrationInformation::|public|OdataType:string +Microsoft.Graph.Beta.Models.virtualEventExternalRegistrationInformation::|public|Referrer:string +Microsoft.Graph.Beta.Models.virtualEventExternalRegistrationInformation::|public|RegistrationId:string +Microsoft.Graph.Beta.Models.virtualEventExternalRegistrationInformation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.virtualEventExternalRegistrationInformation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.VirtualEventExternalRegistrationInformation +Microsoft.Graph.Beta.Models.virtualEventExternalRegistrationInformation~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.virtualEventPresenter-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.virtualEventPresenter::|public|Email:string Microsoft.Graph.Beta.Models.virtualEventPresenter::|public|GetFieldDeserializers():IDictionary> @@ -215093,6 +216440,7 @@ Microsoft.Graph.Beta.Models.virtualEventPresenterInfo::|static|public|CreateFrom Microsoft.Graph.Beta.Models.virtualEventRegistration-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.virtualEventRegistration::|public|CancelationDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.virtualEventRegistration::|public|Email:string +Microsoft.Graph.Beta.Models.virtualEventRegistration::|public|ExternalRegistrationInformation:global.Microsoft.Graph.Beta.Models.VirtualEventExternalRegistrationInformation Microsoft.Graph.Beta.Models.virtualEventRegistration::|public|FirstName:string Microsoft.Graph.Beta.Models.virtualEventRegistration::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.virtualEventRegistration::|public|LastName:string @@ -215567,6 +216915,11 @@ Microsoft.Graph.Beta.Models.vulnerableManagedDevice::|public|ManagedDeviceId:str Microsoft.Graph.Beta.Models.vulnerableManagedDevice::|public|OdataType:string Microsoft.Graph.Beta.Models.vulnerableManagedDevice::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.vulnerableManagedDevice::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.VulnerableManagedDevice +Microsoft.Graph.Beta.Models.wafAllowedHeadersDictionary-->global.Microsoft.Graph.Beta.Models.Dictionary +Microsoft.Graph.Beta.Models.wafAllowedHeadersDictionary::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.wafAllowedHeadersDictionary::|public|OdataType:string +Microsoft.Graph.Beta.Models.wafAllowedHeadersDictionary::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.wafAllowedHeadersDictionary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WafAllowedHeadersDictionary Microsoft.Graph.Beta.Models.watermarkLayout::0000-horizontal Microsoft.Graph.Beta.Models.watermarkLayout::0001-diagonal Microsoft.Graph.Beta.Models.watermarkProtectionValues::|public|AdditionalData:IDictionary @@ -244704,6 +246057,106 @@ Microsoft.Graph.Beta.Security.Collaboration.collaborationRequestBuilder::|public Microsoft.Graph.Beta.Security.Collaboration.collaborationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.Collaboration.collaborationRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CollaborationRoot; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.Collaboration.collaborationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Collaboration.CollaborationRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder.cloudAppDiscoveryRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder.cloudAppDiscoveryRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder.cloudAppDiscoveryRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder.cloudAppDiscoveryRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder.cloudAppDiscoveryRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.DataDiscoveryReport; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder::|public|uploadedStreams:global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.UploadedStreamsRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.cloudAppDiscoveryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.CloudAppDiscoveryRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder.CloudAppDiscoveryReportItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder.CloudAppDiscoveryReportItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder.CloudAppDiscoveryReportItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder.CloudAppDiscoveryReportItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder.CloudAppDiscoveryReportItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder::|public|microsoftGraphSecurityAggregatedAppsDetailsWithPeriod(period:TimeSpan?):global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.aggregatedAppsDetailsWithPeriodGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.aggregatedAppsDetailsWithPeriodGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.aggregatedAppsDetailsWithPeriodGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.aggregatedAppsDetailsWithPeriodGetResponse::|public|Value:List +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.aggregatedAppsDetailsWithPeriodGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.AggregatedAppsDetailsWithPeriodGetResponse +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.aggregatedAppsDetailsWithPeriodResponse-->global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.AggregatedAppsDetailsWithPeriodGetResponse +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.aggregatedAppsDetailsWithPeriodResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.AggregatedAppsDetailsWithPeriodResponse +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; period?:TimeSpan?):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|GetAsAggregatedAppsDetailsWithPeriodGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.AggregatedAppsDetailsWithPeriodGetResponse +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.AggregatedAppsDetailsWithPeriodResponse +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.microsoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod.MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder.uploadedStreamsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder.uploadedStreamsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder.uploadedStreamsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder.uploadedStreamsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder.uploadedStreamsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder.uploadedStreamsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder.uploadedStreamsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder.uploadedStreamsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder.uploadedStreamsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder.uploadedStreamsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder::[CloudAppDiscoveryReportId:string]:global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Item.CloudAppDiscoveryReportItemRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReportCollectionResponse +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.CloudAppDiscoveryReport; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.uploadedStreamsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.UploadedStreams.UploadedStreamsRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder.dataDiscoveryRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder.dataDiscoveryRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder.dataDiscoveryRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder.dataDiscoveryRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder.dataDiscoveryRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder::|public|cloudAppDiscovery:global.Microsoft.Graph.Beta.Security.DataDiscovery.CloudAppDiscovery.CloudAppDiscoveryRequestBuilder +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.DataDiscoveryRoot; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.DataDiscovery.dataDiscoveryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.DataDiscovery.DataDiscoveryRequestBuilder Microsoft.Graph.Beta.Security.DomainSecurityProfiles.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.DomainSecurityProfiles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Security.DomainSecurityProfiles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -246262,6 +247715,7 @@ Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|cloudAppSecurityPr Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|collaboration:global.Microsoft.Graph.Beta.Security.Collaboration.CollaborationRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|dataDiscovery:global.Microsoft.Graph.Beta.Security.DataDiscovery.DataDiscoveryRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|domainSecurityProfiles:global.Microsoft.Graph.Beta.Security.DomainSecurityProfiles.DomainSecurityProfilesRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|fileSecurityProfiles:global.Microsoft.Graph.Beta.Security.FileSecurityProfiles.FileSecurityProfilesRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.Security @@ -264049,6 +265503,21 @@ Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SessionsWithJoinWebUrl. Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SessionsWithJoinWebUrl.sessionsWithJoinWebUrlRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SessionsWithJoinWebUrl.sessionsWithJoinWebUrlRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.VirtualEventSession; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SessionsWithJoinWebUrl.sessionsWithJoinWebUrlRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SessionsWithJoinWebUrl.SessionsWithJoinWebUrlRequestBuilder +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationPostRequestBody::|public|ExternalEventId:string +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationPostRequestBody +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationRequestBuilder.setExternalEventInformationRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.setExternalEventInformationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationRequestBuilder Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.VirtualEventItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.VirtualEventItemRequestBuilder.VirtualEventItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.VirtualEventItemRequestBuilder.VirtualEventItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -264065,6 +265534,7 @@ Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.VirtualEventItemRequest Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.VirtualEventItemRequestBuilder::|public|publish:global.Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.Publish.PublishRequestBuilder Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.VirtualEventItemRequestBuilder::|public|sessions:global.Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.Sessions.SessionsRequestBuilder Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.VirtualEventItemRequestBuilder::|public|sessionsWithJoinWebUrl(joinWebUrl:string):global.Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SessionsWithJoinWebUrl.SessionsWithJoinWebUrlRequestBuilder +Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.VirtualEventItemRequestBuilder::|public|setExternalEventInformation:global.Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.SetExternalEventInformation.SetExternalEventInformationRequestBuilder Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.VirtualEventItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.VirtualEventItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Solutions.VirtualEvents.Events.Item.VirtualEventItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.VirtualEvent; requestConfiguration?:Action>):RequestInformation @@ -265259,6 +266729,7 @@ Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerIte Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|drive:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Drive.DriveRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.FileStorageContainer +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|lock:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.FileStorageContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.FileStorageContainer Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|permissions:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Permissions.PermissionsRequestBuilder @@ -265267,7 +266738,23 @@ Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerIte Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.FileStorageContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|unlock:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.FileStorageContainerItemRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|LockState:global.Microsoft.Graph.Beta.Models.SiteLockState? +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder.lockRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.lockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Lock.LockRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -265623,6 +267110,13 @@ Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Restore.restoreRequestB Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.FileStorageContainer Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder.unlockRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.unlockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.Containers.Item.Unlock.UnlockRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -265735,6 +267229,7 @@ Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageConta Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|drive:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Drive.DriveRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.FileStorageContainer +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|lock:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.FileStorageContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.FileStorageContainer Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|permissions:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Permissions.PermissionsRequestBuilder @@ -265743,7 +267238,23 @@ Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageConta Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.FileStorageContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|unlock:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.FileStorageContainerItemRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|LockState:global.Microsoft.Graph.Beta.Models.SiteLockState? +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder.lockRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.lockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Lock.LockRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -266099,6 +267610,13 @@ Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Restore.restoreR Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.FileStorageContainer Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder.unlockRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.unlockRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Storage.FileStorage.DeletedContainers.Item.Unlock.UnlockRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.fileStorageRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Storage.FileStorage.fileStorageRequestBuilder.fileStorageRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Storage.FileStorage.fileStorageRequestBuilder.fileStorageRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -277075,6 +278593,166 @@ Microsoft.Graph.Beta.Teamwork.WorkforceIntegrations.workforceIntegrationsRequest Microsoft.Graph.Beta.Teamwork.WorkforceIntegrations.workforceIntegrationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.WorkforceIntegrations.workforceIntegrationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.WorkforceIntegration; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.WorkforceIntegrations.workforceIntegrationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.WorkforceIntegrations.WorkforceIntegrationsRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder.deviceTemplatesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::[DeviceTemplateId:string]:global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Count.CountRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.DeviceTemplate; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplate +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.DeviceTemplate; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.deviceTemplatesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.DeviceTemplatesRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|AccountEnabled:bool? +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|AlternativeNames:List +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|ExternalDeviceId:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|ExternalSourceName:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|KeyCredential:global.Microsoft.Graph.Beta.Models.KeyCredential +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|OperatingSystemVersion:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder.createDeviceFromTemplateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Device +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.createDeviceFromTemplateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplateRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder.deviceInstancesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::[DeviceId:string]:global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Count.CountRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceCollectionResponse +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.deviceInstancesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.DeviceInstancesRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder.DeviceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder.DeviceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder.DeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Device +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.Item.DeviceItemRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder.deviceInstancesWithDeviceIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder.deviceInstancesWithDeviceIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder.deviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; deviceId?:string):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Device +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.deviceInstancesWithDeviceIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.DeviceInstancesWithDeviceIdRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|createDeviceFromTemplate:global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.CreateDeviceFromTemplate.CreateDeviceFromTemplateRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|deviceInstances:global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstances.DeviceInstancesRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|deviceInstancesWithDeviceId(deviceId:string):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceInstancesWithDeviceId.DeviceInstancesWithDeviceIdRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplate +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|owners:global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.OwnersRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.DeviceTemplate; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplate +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.DeviceTemplate; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.DeviceTemplateItemRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder.ownersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.Count.CountRequestBuilder +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.ownersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Templates.DeviceTemplates.Item.Owners.OwnersRequestBuilder +Microsoft.Graph.Beta.Templates.templatesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Templates.templatesRequestBuilder.templatesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Templates.templatesRequestBuilder.templatesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Templates.templatesRequestBuilder.templatesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.templatesRequestBuilder.templatesRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Templates.templatesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.templatesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Templates.templatesRequestBuilder::|public|deviceTemplates:global.Microsoft.Graph.Beta.Templates.DeviceTemplates.DeviceTemplatesRequestBuilder +Microsoft.Graph.Beta.Templates.templatesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Template +Microsoft.Graph.Beta.Templates.templatesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Template; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Template +Microsoft.Graph.Beta.Templates.templatesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.templatesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Template; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Templates.templatesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Templates.TemplatesRequestBuilder Microsoft.Graph.Beta.TenantRelationships.DelegatedAdminCustomers.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.TenantRelationships.DelegatedAdminCustomers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.TenantRelationships.DelegatedAdminCustomers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -297103,6 +298781,7 @@ Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder::|public|c Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder::|public|deviceTemplate:global.Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder::|public|extensions:global.Microsoft.Graph.Beta.Users.Item.Devices.Item.Extensions.ExtensionsRequestBuilder Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Device Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder::|public|memberOf:global.Microsoft.Graph.Beta.Users.Item.Devices.Item.MemberOf.MemberOfRequestBuilder @@ -297115,6 +298794,41 @@ Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder::|public|T Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder::|public|transitiveMemberOf:global.Microsoft.Graph.Beta.Users.Item.Devices.Item.TransitiveMemberOf.TransitiveMemberOfRequestBuilder Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder::|public|usageRights:global.Microsoft.Graph.Beta.Users.Item.Devices.Item.UsageRights.UsageRightsRequestBuilder Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder.deviceTemplateRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::[DeviceTemplateId:string]:global.Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplateCollectionResponse +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.deviceTemplateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.DeviceTemplateRequestBuilder +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder.DeviceTemplateItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeviceTemplate +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Devices.Item.DeviceTemplate.Item.DeviceTemplateItemRequestBuilder Microsoft.Graph.Beta.Users.Item.Devices.Item.Extensions.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Devices.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.Devices.Item.Extensions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -301046,11 +302760,13 @@ Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderIte Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|operations:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailFolder; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|updateAllMessagesReadState:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|userConfigurations:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UserConfigurations.UserConfigurationsRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MessageRules.Count.CountRequestBuilder-->BaseRequestBuilder @@ -301532,6 +303248,41 @@ Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move.moveRequ Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move.MovePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move.moveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder.MailFolderOperationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder.MailFolderOperationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder.MailFolderOperationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolderOperation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::[MailFolderOperationId:string]:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolderOperationCollectionResponse +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.operationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Operations.OperationsRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -301539,6 +303290,22 @@ Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDele Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|IsRead:bool? +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|SuppressReadReceipts:bool? +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder.updateAllMessagesReadStateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UserConfigurations.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -301605,11 +303372,13 @@ Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::| Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MessageRules.MessageRulesRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move.MoveRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|operations:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.OperationsRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailFolder; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|permanentDelete:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailFolder; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|updateAllMessagesReadState:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|userConfigurations:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UserConfigurations.UserConfigurationsRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MessageRules.Count.CountRequestBuilder-->BaseRequestBuilder @@ -302091,6 +303860,41 @@ Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move.moveRequestBuilder::|publi Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move.moveRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move.MovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move.moveRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move.MovePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move.moveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move.MoveRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder.MailFolderOperationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder.MailFolderOperationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder.MailFolderOperationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolderOperation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder.operationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder::[MailFolderOperationId:string]:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Item.MailFolderOperationItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolderOperationCollectionResponse +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.operationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Operations.OperationsRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder.permanentDeleteRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -302098,6 +303902,22 @@ Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete.permanentDelete Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete.permanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.PermanentDelete.PermanentDeleteRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|IsRead:bool? +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|public|SuppressReadReceipts:bool? +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder.updateAllMessagesReadStateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.updateAllMessagesReadStateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UpdateAllMessagesReadState.UpdateAllMessagesReadStateRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UserConfigurations.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.MailFolders.Item.UserConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index b5269608f63..ef7eb934c69 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "C51E8E33E024838725EBD6E25104291FCAE1C6CA642CD37E1A60B0904FE904AE7A1D3557D519E432E1BD576C39D951BD66BC5CE570ED2C736974A0CEF4051B36", + "descriptionHash": "4B42A0555B252A75E6C02B8406C3AE2C7A674F0F7B4211E56C9AA9132DB1B1E64C94BEE20E844FC06F183750BB06DC954F8EF7DCD346C48B16E589F482A6D914", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.22.0",