diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs new file mode 100644 index 00000000000..fa084754485 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs @@ -0,0 +1,262 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.AppRoleAssignments.Count; +using Microsoft.Graph.AppRoleAssignments.Delta; +using Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties; +using Microsoft.Graph.AppRoleAssignments.GetByIds; +using Microsoft.Graph.AppRoleAssignments.Item; +using Microsoft.Graph.AppRoleAssignments.ValidateProperties; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AppRoleAssignments +{ + /// + /// Provides operations to manage the collection of appRoleAssignment entities. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AppRoleAssignmentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the delta method. + public global::Microsoft.Graph.AppRoleAssignments.Delta.DeltaRequestBuilder Delta + { + get => new global::Microsoft.Graph.AppRoleAssignments.Delta.DeltaRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getAvailableExtensionProperties method. + public global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder GetAvailableExtensionProperties + { + get => new global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getByIds method. + public global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsRequestBuilder GetByIds + { + get => new global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the validateProperties method. + public global::Microsoft.Graph.AppRoleAssignments.ValidateProperties.ValidatePropertiesRequestBuilder ValidateProperties + { + get => new global::Microsoft.Graph.AppRoleAssignments.ValidateProperties.ValidatePropertiesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the collection of appRoleAssignment entities. + /// The unique identifier of appRoleAssignment + /// A + public global::Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("appRoleAssignment%2Did", position); + return new global::Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder(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 AppRoleAssignmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments{?%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 AppRoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get entities from appRoleAssignments + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add new entity to appRoleAssignments + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.AppRoleAssignment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.AppRoleAssignment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get entities from appRoleAssignments + /// + /// A + /// Configuration 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; + } + /// + /// Add new entity to appRoleAssignments + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AppRoleAssignment body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AppRoleAssignment 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.AppRoleAssignments.AppRoleAssignmentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AppRoleAssignments.AppRoleAssignmentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get entities from appRoleAssignments + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AppRoleAssignmentsRequestBuilderGetQueryParameters + { + /// 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 AppRoleAssignmentsRequestBuilderGetRequestConfiguration : 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 AppRoleAssignmentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..121ddb8a000 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AppRoleAssignments.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}/appRoleAssignments/$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}/appRoleAssignments/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AppRoleAssignments.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/AppRoleAssignments/Delta/DeltaGetResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Delta/DeltaGetResponse.cs new file mode 100644 index 00000000000..a6d31905b6e --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Delta/DeltaGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Delta +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaGetResponse : global::Microsoft.Graph.Models.BaseDeltaFunctionResponse, 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.AppRoleAssignments.Delta.DeltaGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Delta.DeltaGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.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.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Delta/DeltaRequestBuilder.cs new file mode 100644 index 00000000000..839490e3c25 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Delta/DeltaRequestBuilder.cs @@ -0,0 +1,189 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Delta +{ + /// + /// Provides operations to call the delta method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeltaRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/delta(){?%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 DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// 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 GetAsDeltaGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsDeltaGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsDeltaGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// + /// A + /// Configuration 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.AppRoleAssignments.Delta.DeltaRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AppRoleAssignments.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeltaRequestBuilderGetQueryParameters + { + /// 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 DeltaRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Delta/DeltaResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Delta/DeltaResponse.cs new file mode 100644 index 00000000000..1e69366465d --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Delta/DeltaResponse.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.AppRoleAssignments.Delta +{ + [Obsolete("This class is obsolete. Use DeltaGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeltaResponse : global::Microsoft.Graph.AppRoleAssignments.Delta.DeltaGetResponse, 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.AppRoleAssignments.Delta.DeltaResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Delta.DeltaResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs new file mode 100644 index 00000000000..f6b10cd360b --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAvailableExtensionPropertiesPostRequestBody : 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 isSyncedFromOnPremises property + public bool? IsSyncedFromOnPremises + { + get { return BackingStore?.Get("isSyncedFromOnPremises"); } + set { BackingStore?.Set("isSyncedFromOnPremises", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public GetAvailableExtensionPropertiesPostRequestBody() + { + 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.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isSyncedFromOnPremises", n => { IsSyncedFromOnPremises = 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("isSyncedFromOnPremises", IsSyncedFromOnPremises); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs new file mode 100644 index 00000000000..54b46d78137 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAvailableExtensionPropertiesPostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ExtensionProperty.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/AppRoleAssignments/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs new file mode 100644 index 00000000000..0a6bba6cabb --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties +{ + /// + /// Provides operations to call the getAvailableExtensionProperties method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAvailableExtensionPropertiesRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetAvailableExtensionPropertiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/getAvailableExtensionProperties", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetAvailableExtensionPropertiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/getAvailableExtensionProperties", rawUrl) + { + } + /// + /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsGetAvailableExtensionPropertiesPostResponseAsync(global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsGetAvailableExtensionPropertiesPostResponseAsync(global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsGetAvailableExtensionPropertiesPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties: + /// + /// 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.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody 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.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder(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 GetAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesResponse.cs new file mode 100644 index 00000000000..a58ae18b8d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesResponse.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.AppRoleAssignments.GetAvailableExtensionProperties +{ + [Obsolete("This class is obsolete. Use GetAvailableExtensionPropertiesPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAvailableExtensionPropertiesResponse : global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse, 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.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/GetByIds/GetByIdsPostRequestBody.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetByIds/GetByIdsPostRequestBody.cs new file mode 100644 index 00000000000..49164d9575a --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetByIds/GetByIdsPostRequestBody.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.AppRoleAssignments.GetByIds +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetByIdsPostRequestBody : 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 ids property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ids + { + get { return BackingStore?.Get?>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#nullable restore +#else + public List Ids + { + get { return BackingStore?.Get>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#endif + /// The types property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Types + { + get { return BackingStore?.Get?>("types"); } + set { BackingStore?.Set("types", value); } + } +#nullable restore +#else + public List Types + { + get { return BackingStore?.Get>("types"); } + set { BackingStore?.Set("types", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public GetByIdsPostRequestBody() + { + 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.AppRoleAssignments.GetByIds.GetByIdsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "types", n => { Types = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("ids", Ids); + writer.WriteCollectionOfPrimitiveValues("types", Types); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/GetByIds/GetByIdsPostResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetByIds/GetByIdsPostResponse.cs new file mode 100644 index 00000000000..09f5e02e292 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetByIds/GetByIdsPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AppRoleAssignments.GetByIds +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetByIdsPostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.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.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetByIds/GetByIdsRequestBuilder.cs new file mode 100644 index 00000000000..997d4341ecb --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetByIds/GetByIdsRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AppRoleAssignments.GetByIds +{ + /// + /// Provides operations to call the getByIds method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetByIdsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetByIdsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/getByIds", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetByIdsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/getByIds", rawUrl) + { + } + /// + /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsGetByIdsPostResponseAsync(global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsGetByIdsPostResponseAsync(global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsGetByIdsPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: + /// + /// 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.AppRoleAssignments.GetByIds.GetByIdsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostRequestBody 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.AppRoleAssignments.GetByIds.GetByIdsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsRequestBuilder(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 GetByIdsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/GetByIds/GetByIdsResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetByIds/GetByIdsResponse.cs new file mode 100644 index 00000000000..a797e6a5ae4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/GetByIds/GetByIdsResponse.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.AppRoleAssignments.GetByIds +{ + [Obsolete("This class is obsolete. Use GetByIdsPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetByIdsResponse : global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostResponse, 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.AppRoleAssignments.GetByIds.GetByIdsResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs new file mode 100644 index 00000000000..88a26d2ebd8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs @@ -0,0 +1,259 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups; +using Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects; +using Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups; +using Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects; +using Microsoft.Graph.AppRoleAssignments.Item.Restore; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Item +{ + /// + /// Provides operations to manage the collection of appRoleAssignment entities. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AppRoleAssignmentItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the checkMemberGroups method. + public global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsRequestBuilder CheckMemberGroups + { + get => new global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the checkMemberObjects method. + public global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsRequestBuilder CheckMemberObjects + { + get => new global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getMemberGroups method. + public global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsRequestBuilder GetMemberGroups + { + get => new global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the getMemberObjects method. + public global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsRequestBuilder GetMemberObjects + { + get => new global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.AppRoleAssignments.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.AppRoleAssignments.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AppRoleAssignmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%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 AppRoleAssignmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete entity from appRoleAssignments + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get entity from appRoleAssignments by key + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update entity in appRoleAssignments + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.AppRoleAssignment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.AppRoleAssignment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete entity from appRoleAssignments + /// + /// A + /// Configuration 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 entity from appRoleAssignments by key + /// + /// A + /// Configuration 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 entity in appRoleAssignments + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AppRoleAssignment body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AppRoleAssignment 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.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder(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 AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get entity from appRoleAssignments by key + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AppRoleAssignmentItemRequestBuilderGetQueryParameters + { + /// 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 AppRoleAssignmentItemRequestBuilderGetRequestConfiguration : 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 AppRoleAssignmentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.cs new file mode 100644 index 00000000000..b22c3b0264e --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberGroups/CheckMemberGroupsPostRequestBody.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.AppRoleAssignments.Item.CheckMemberGroups +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CheckMemberGroupsPostRequestBody : 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 groupIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? GroupIds + { + get { return BackingStore?.Get?>("groupIds"); } + set { BackingStore?.Set("groupIds", value); } + } +#nullable restore +#else + public List GroupIds + { + get { return BackingStore?.Get>("groupIds"); } + set { BackingStore?.Set("groupIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CheckMemberGroupsPostRequestBody() + { + 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.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "groupIds", n => { GroupIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("groupIds", GroupIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs new file mode 100644 index 00000000000..347ed35e467 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberGroups/CheckMemberGroupsPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CheckMemberGroupsPostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostResponse(); + } + /// + /// 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.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs new file mode 100644 index 00000000000..6bb320d051e --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups +{ + /// + /// Provides operations to call the checkMemberGroups method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckMemberGroupsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CheckMemberGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/checkMemberGroups", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/checkMemberGroups", rawUrl) + { + } + /// + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsCheckMemberGroupsPostResponseAsync(global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsCheckMemberGroupsPostResponseAsync(global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsCheckMemberGroupsPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// + /// 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.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostRequestBody 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.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsRequestBuilder(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 CheckMemberGroupsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberGroups/CheckMemberGroupsResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberGroups/CheckMemberGroupsResponse.cs new file mode 100644 index 00000000000..3cfd645f09b --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberGroups/CheckMemberGroupsResponse.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.AppRoleAssignments.Item.CheckMemberGroups +{ + [Obsolete("This class is obsolete. Use CheckMemberGroupsPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CheckMemberGroupsResponse : global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostResponse, 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.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.cs new file mode 100644 index 00000000000..8fff9de440f --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberObjects/CheckMemberObjectsPostRequestBody.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.AppRoleAssignments.Item.CheckMemberObjects +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CheckMemberObjectsPostRequestBody : 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 ids property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Ids + { + get { return BackingStore?.Get?>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#nullable restore +#else + public List Ids + { + get { return BackingStore?.Get>("ids"); } + set { BackingStore?.Set("ids", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CheckMemberObjectsPostRequestBody() + { + 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.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ids", n => { Ids = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("ids", Ids); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs new file mode 100644 index 00000000000..6c08f227746 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberObjects/CheckMemberObjectsPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CheckMemberObjectsPostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostResponse(); + } + /// + /// 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.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs new file mode 100644 index 00000000000..d7d605e7d41 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects +{ + /// + /// Provides operations to call the checkMemberObjects method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CheckMemberObjectsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CheckMemberObjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/checkMemberObjects", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CheckMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/checkMemberObjects", rawUrl) + { + } + /// + /// Invoke action checkMemberObjects + /// + /// 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 PostAsCheckMemberObjectsPostResponseAsync(global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsCheckMemberObjectsPostResponseAsync(global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action checkMemberObjects + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsCheckMemberObjectsPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action checkMemberObjects + /// + /// 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.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostRequestBody 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.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsRequestBuilder(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 CheckMemberObjectsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberObjects/CheckMemberObjectsResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberObjects/CheckMemberObjectsResponse.cs new file mode 100644 index 00000000000..97b2dd2828e --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/CheckMemberObjects/CheckMemberObjectsResponse.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.AppRoleAssignments.Item.CheckMemberObjects +{ + [Obsolete("This class is obsolete. Use CheckMemberObjectsPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CheckMemberObjectsResponse : global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostResponse, 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.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs new file mode 100644 index 00000000000..2b44e90d37b --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberGroups/GetMemberGroupsPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetMemberGroupsPostRequestBody : 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 securityEnabledOnly property + public bool? SecurityEnabledOnly + { + get { return BackingStore?.Get("securityEnabledOnly"); } + set { BackingStore?.Set("securityEnabledOnly", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public GetMemberGroupsPostRequestBody() + { + 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.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "securityEnabledOnly", n => { SecurityEnabledOnly = 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("securityEnabledOnly", SecurityEnabledOnly); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs new file mode 100644 index 00000000000..c9e7657e3dc --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberGroups/GetMemberGroupsPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetMemberGroupsPostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostResponse(); + } + /// + /// 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.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs new file mode 100644 index 00000000000..42cdb8cde56 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups +{ + /// + /// Provides operations to call the getMemberGroups method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetMemberGroupsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetMemberGroupsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberGroups", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberGroups", rawUrl) + { + } + /// + /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsGetMemberGroupsPostResponseAsync(global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsGetMemberGroupsPostResponseAsync(global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsGetMemberGroupsPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. + /// + /// 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.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostRequestBody 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.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsRequestBuilder(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 GetMemberGroupsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberGroups/GetMemberGroupsResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberGroups/GetMemberGroupsResponse.cs new file mode 100644 index 00000000000..dc558aef83a --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberGroups/GetMemberGroupsResponse.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.AppRoleAssignments.Item.GetMemberGroups +{ + [Obsolete("This class is obsolete. Use GetMemberGroupsPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetMemberGroupsResponse : global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostResponse, 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.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs new file mode 100644 index 00000000000..769225e3081 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberObjects/GetMemberObjectsPostRequestBody.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetMemberObjectsPostRequestBody : 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 securityEnabledOnly property + public bool? SecurityEnabledOnly + { + get { return BackingStore?.Get("securityEnabledOnly"); } + set { BackingStore?.Set("securityEnabledOnly", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public GetMemberObjectsPostRequestBody() + { + 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.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "securityEnabledOnly", n => { SecurityEnabledOnly = 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("securityEnabledOnly", SecurityEnabledOnly); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs new file mode 100644 index 00000000000..abc2dd584b1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberObjects/GetMemberObjectsPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetMemberObjectsPostResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostResponse(); + } + /// + /// 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.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs new file mode 100644 index 00000000000..53505402928 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects +{ + /// + /// Provides operations to call the getMemberObjects method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetMemberObjectsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GetMemberObjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberObjects", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberObjects", rawUrl) + { + } + /// + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsGetMemberObjectsPostResponseAsync(global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsGetMemberObjectsPostResponseAsync(global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsGetMemberObjectsPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. + /// + /// 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.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostRequestBody 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.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsRequestBuilder(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 GetMemberObjectsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberObjects/GetMemberObjectsResponse.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberObjects/GetMemberObjectsResponse.cs new file mode 100644 index 00000000000..88775863849 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/GetMemberObjects/GetMemberObjectsResponse.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.AppRoleAssignments.Item.GetMemberObjects +{ + [Obsolete("This class is obsolete. Use GetMemberObjectsPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetMemberObjectsResponse : global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostResponse, 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.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 00000000000..055ec5e0d03 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AppRoleAssignments.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/restore", rawUrl) + { + } + /// + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups can't be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// + /// A + /// Configuration 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.AppRoleAssignments.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AppRoleAssignments.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/ValidateProperties/ValidatePropertiesPostRequestBody.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/ValidateProperties/ValidatePropertiesPostRequestBody.cs new file mode 100644 index 00000000000..5be59c5799d --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/ValidateProperties/ValidatePropertiesPostRequestBody.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.AppRoleAssignments.ValidateProperties +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ValidatePropertiesPostRequestBody : 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 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 entityType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EntityType + { + get { return BackingStore?.Get("entityType"); } + set { BackingStore?.Set("entityType", value); } + } +#nullable restore +#else + public string EntityType + { + get { return BackingStore?.Get("entityType"); } + set { BackingStore?.Set("entityType", value); } + } +#endif + /// The mailNickname property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MailNickname + { + get { return BackingStore?.Get("mailNickname"); } + set { BackingStore?.Set("mailNickname", value); } + } +#nullable restore +#else + public string MailNickname + { + get { return BackingStore?.Get("mailNickname"); } + set { BackingStore?.Set("mailNickname", value); } + } +#endif + /// The onBehalfOfUserId property + public Guid? OnBehalfOfUserId + { + get { return BackingStore?.Get("onBehalfOfUserId"); } + set { BackingStore?.Set("onBehalfOfUserId", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ValidatePropertiesPostRequestBody() + { + 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.AppRoleAssignments.ValidateProperties.ValidatePropertiesPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.AppRoleAssignments.ValidateProperties.ValidatePropertiesPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "entityType", n => { EntityType = n.GetStringValue(); } }, + { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, + { "onBehalfOfUserId", n => { OnBehalfOfUserId = n.GetGuidValue(); } }, + }; + } + /// + /// 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("displayName", DisplayName); + writer.WriteStringValue("entityType", EntityType); + writer.WriteStringValue("mailNickname", MailNickname); + writer.WriteGuidValue("onBehalfOfUserId", OnBehalfOfUserId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AppRoleAssignments/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppRoleAssignments/ValidateProperties/ValidatePropertiesRequestBuilder.cs new file mode 100644 index 00000000000..433e4030679 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AppRoleAssignments/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.AppRoleAssignments.ValidateProperties +{ + /// + /// Provides operations to call the validateProperties method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ValidatePropertiesRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ValidatePropertiesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/validateProperties", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ValidatePropertiesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appRoleAssignments/validateProperties", rawUrl) + { + } + /// + /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. + /// Find more info here + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.ValidateProperties.ValidatePropertiesPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.AppRoleAssignments.ValidateProperties.ValidatePropertiesPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. + /// + /// 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.AppRoleAssignments.ValidateProperties.ValidatePropertiesPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.AppRoleAssignments.ValidateProperties.ValidatePropertiesPostRequestBody 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.AppRoleAssignments.ValidateProperties.ValidatePropertiesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.AppRoleAssignments.ValidateProperties.ValidatePropertiesRequestBuilder(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 ValidatePropertiesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index a277d43a2fb..7e73c9f78c6 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 8e6ff8b40f4..ed06bfdb498 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs index 9263f77460a..cab62fe836e 100644 --- a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs +++ b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.AgreementAcceptances; using Microsoft.Graph.Agreements; using Microsoft.Graph.AppCatalogs; +using Microsoft.Graph.AppRoleAssignments; using Microsoft.Graph.ApplicationTemplates; using Microsoft.Graph.Applications; using Microsoft.Graph.ApplicationsWithAppId; @@ -125,6 +126,11 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder { get => new global::Microsoft.Graph.ApplicationTemplates.ApplicationTemplatesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the collection of appRoleAssignment entities. + public global::Microsoft.Graph.AppRoleAssignments.AppRoleAssignmentsRequestBuilder AppRoleAssignments + { + get => new global::Microsoft.Graph.AppRoleAssignments.AppRoleAssignmentsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the auditLogRoot singleton. public global::Microsoft.Graph.AuditLogs.AuditLogsRequestBuilder AuditLogs { diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs index c3696c46462..3019f21f44b 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + /// Send a new chatMessage in the specified channel or a chat. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs index 0901966f00a..3d5892ddfcd 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs @@ -72,7 +72,7 @@ public OnlineMeetingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// Find more info here /// /// A @@ -121,7 +121,7 @@ public OnlineMeetingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -171,7 +171,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Communications.OnlineMeetings.OnlineMeetingsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OnlineMeetingsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 45e999ab817..925244d8143 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contacts.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contacts.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 5ea52329380..80748f6a0b3 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contacts.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contacts.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index f093ec44078..7bddaa58a12 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contracts.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contracts.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 577a6168b0c..27c34e3c82a 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contracts.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Contracts.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs index 82af7a6ec3b..7b9a6b353ea 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs @@ -126,7 +126,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Read properties and relationships of the deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -150,7 +150,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Update the properties of a deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs index 1d709a789d2..21976de7648 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs @@ -63,8 +63,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the windowsInformationProtection object. - /// Find more info here + /// Read properties and relationships of the managedAppConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -131,7 +131,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsInformationProtection object. + /// Read properties and relationships of the managedAppConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -189,7 +189,7 @@ public partial class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguratio { } /// - /// Read properties and relationships of the windowsInformationProtection object. + /// Read properties and relationships of the managedAppConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppPolicyItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index 455d78b36e3..69f12423afd 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -35,7 +35,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : } /// /// Not yet documented - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs index 6e7d0ae8cd1..66de324c1f0 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs @@ -54,8 +54,8 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// List properties and relationships of the managedAppPolicy objects. - /// Find more info here + /// List properties and relationships of the managedAppConfiguration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedAppPolicy objects. + /// List properties and relationships of the managedAppConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppPolicies.ManagedAppPoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedAppPolicy objects. + /// List properties and relationships of the managedAppConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppPoliciesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index 109d93af945..81eab1d45e6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -35,7 +35,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : } /// /// Not yet documented - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index 8d3989240fb..6ac4acfd073 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -35,7 +35,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : } /// /// Not yet documented - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs index ddc4c6e32de..47ba73e2516 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs @@ -60,8 +60,8 @@ public ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// List properties and relationships of the iosManagedAppRegistration objects. - /// Find more info here + /// List properties and relationships of the managedAppRegistration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -110,7 +110,7 @@ public ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the iosManagedAppRegistration objects. + /// List properties and relationships of the managedAppRegistration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppRegistrations.ManagedAppRegistrationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the iosManagedAppRegistration objects. + /// List properties and relationships of the managedAppRegistration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppRegistrationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs index 373b86368d7..c6e88a5f1d5 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs @@ -54,8 +54,8 @@ public ManagedAppStatusesRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// List properties and relationships of the managedAppStatus objects. - /// Find more info here + /// List properties and relationships of the managedAppStatusRaw objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -103,7 +103,7 @@ public ManagedAppStatusesRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedAppStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedAppStatus objects. + /// List properties and relationships of the managedAppStatusRaw objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.ManagedAppStatuses.ManagedAppStatusesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedAppStatus objects. + /// List properties and relationships of the managedAppStatusRaw objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedAppStatusesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs index f16e11a0cdf..7ae5da68b13 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs @@ -78,8 +78,8 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ManagedEBookAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new managedEBookAssignment object. - /// Find more info here + /// Create a new iosVppEBookAssignment object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new managedEBookAssignment object. + /// Create a new iosVppEBookAssignment object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs index 5d92308132f..59c29474e3e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the iosVppEBookAssignment object. - /// Find more info here + /// Read properties and relationships of the managedEBookAssignment object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a iosVppEBookAssignment object. - /// Find more info here + /// Update the properties of a managedEBookAssignment object. + /// Find more info here /// /// A /// The request body @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the iosVppEBookAssignment object. + /// Read properties and relationships of the managedEBookAssignment object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a iosVppEBookAssignment object. + /// Update the properties of a managedEBookAssignment object. /// /// A /// The request body @@ -185,7 +185,7 @@ public partial class ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfig { } /// - /// Read properties and relationships of the iosVppEBookAssignment object. + /// Read properties and relationships of the managedEBookAssignment object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs index e1062f6f1d2..82bb6bccc65 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. - /// Find more info here + /// Read properties and relationships of the iosMobileAppConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -163,7 +163,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. + /// Read properties and relationships of the iosMobileAppConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -221,7 +221,7 @@ public partial class ManagedDeviceMobileAppConfigurationItemRequestBuilderDelete { } /// - /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. + /// Read properties and relationships of the iosMobileAppConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs index 1f4919cc9c4..8e50fa64fe5 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs @@ -149,8 +149,8 @@ public MobileAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Deletes a microsoftStoreForBusinessApp. - /// Find more info here + /// Deletes a managedIOSLobApp. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -172,8 +172,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the windowsMicrosoftEdgeApp object. - /// Find more info here + /// Read properties and relationships of the iosVppApp object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -196,8 +196,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a windowsMicrosoftEdgeApp object. - /// Find more info here + /// Update the properties of a androidLobApp object. + /// Find more info here /// /// A /// The request body @@ -222,7 +222,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a microsoftStoreForBusinessApp. + /// Deletes a managedIOSLobApp. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -241,7 +241,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsMicrosoftEdgeApp object. + /// Read properties and relationships of the iosVppApp object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -260,7 +260,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsMicrosoftEdgeApp object. + /// Update the properties of a androidLobApp object. /// /// A /// The request body @@ -299,7 +299,7 @@ public partial class MobileAppItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Read properties and relationships of the windowsMicrosoftEdgeApp object. + /// Read properties and relationships of the iosVppApp object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs index bfb72fbfb7a..fbca73a6e9f 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs @@ -150,8 +150,8 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// List properties and relationships of the mobileLobApp objects. - /// Find more info here + /// List properties and relationships of the windowsMicrosoftEdgeApp objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -174,8 +174,8 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new windowsMobileMSI object. - /// Find more info here + /// Create a new managedIOSLobApp object. + /// Find more info here /// /// A /// The request body @@ -200,7 +200,7 @@ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the mobileLobApp objects. + /// List properties and relationships of the windowsMicrosoftEdgeApp objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -219,7 +219,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new windowsMobileMSI object. + /// Create a new managedIOSLobApp object. /// /// A /// The request body @@ -250,7 +250,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceAppManagement.MobileApps.MobileAppsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the mobileLobApp objects. + /// List properties and relationships of the windowsMicrosoftEdgeApp objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs index 97fcdb896c6..21735cf6d08 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// List properties and relationships of the windows81CompliancePolicy objects. - /// Find more info here + /// List properties and relationships of the androidCompliancePolicy objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new windows81CompliancePolicy object. - /// Find more info here + /// Create a new androidCompliancePolicy object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the windows81CompliancePolicy objects. + /// List properties and relationships of the androidCompliancePolicy objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new windows81CompliancePolicy object. + /// Create a new androidCompliancePolicy object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceCompliancePolicies.DeviceCompliancePoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the windows81CompliancePolicy objects. + /// List properties and relationships of the androidCompliancePolicy objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceCompliancePoliciesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs index 2cabba22935..6d1f02a99a1 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs @@ -89,8 +89,8 @@ public DeviceCompliancePolicyItemRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Deletes a windowsPhone81CompliancePolicy. - /// Find more info here + /// Deletes a windows81CompliancePolicy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -136,8 +136,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a windowsPhone81CompliancePolicy object. - /// Find more info here + /// Update the properties of a androidWorkProfileCompliancePolicy object. + /// Find more info here /// /// A /// The request body @@ -162,7 +162,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a windowsPhone81CompliancePolicy. + /// Deletes a windows81CompliancePolicy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -200,7 +200,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsPhone81CompliancePolicy object. + /// Update the properties of a androidWorkProfileCompliancePolicy object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs index 9222844c613..2eab1fefb43 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// List properties and relationships of the deviceConfiguration objects. - /// Find more info here + /// List properties and relationships of the macOSCustomConfiguration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new macOSDeviceFeaturesConfiguration object. - /// Find more info here + /// Create a new iosUpdateConfiguration object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the deviceConfiguration objects. + /// List properties and relationships of the macOSCustomConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new macOSDeviceFeaturesConfiguration object. + /// Create a new iosUpdateConfiguration object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceConfigurations.DeviceConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the deviceConfiguration objects. + /// List properties and relationships of the macOSCustomConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceConfigurationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs index e5b2caa3f34..e9b60f29d8a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs @@ -78,8 +78,8 @@ public DeviceConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// Deletes a iosDeviceFeaturesConfiguration. - /// Find more info here + /// Deletes a windowsUpdateForBusinessConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -101,8 +101,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the androidWorkProfileCustomConfiguration object. - /// Find more info here + /// Read properties and relationships of the windows10CustomConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -135,8 +135,8 @@ public async Task DeleteAsync(Action - /// Update the properties of a iosGeneralDeviceConfiguration object. - /// Find more info here + /// Update the properties of a editionUpgradeConfiguration object. + /// Find more info here /// /// A /// The request body @@ -161,7 +161,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a iosDeviceFeaturesConfiguration. + /// Deletes a windowsUpdateForBusinessConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -180,7 +180,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the androidWorkProfileCustomConfiguration object. + /// Read properties and relationships of the windows10CustomConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -199,7 +199,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a iosGeneralDeviceConfiguration object. + /// Update the properties of a editionUpgradeConfiguration object. /// /// A /// The request body @@ -238,7 +238,7 @@ public partial class DeviceConfigurationItemRequestBuilderDeleteRequestConfigura { } /// - /// Read properties and relationships of the androidWorkProfileCustomConfiguration object. + /// Read properties and relationships of the windows10CustomConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs index ce9a5f3a974..201495f48ed 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs @@ -54,8 +54,8 @@ public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapt { } /// - /// List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. - /// Find more info here + /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. - /// Find more info here + /// Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.DeviceManagement.DeviceEnrollmentConfigurations.DeviceEnrollmentConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs index 6cfb012c3f6..a829b6f09da 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs @@ -53,8 +53,8 @@ public DeviceEnrollmentConfigurationItemRequestBuilder(string rawUrl, IRequestAd { } /// - /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. - /// Find more info here + /// Deletes a deviceEnrollmentLimitConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. - /// Find more info here + /// Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -100,8 +100,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a deviceEnrollmentLimitConfiguration object. - /// Find more info here + /// Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Find more info here /// /// A /// The request body @@ -126,7 +126,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. + /// Deletes a deviceEnrollmentLimitConfiguration. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -164,7 +164,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a deviceEnrollmentLimitConfiguration object. + /// Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. /// /// A /// The request body @@ -203,7 +203,7 @@ public partial class DeviceEnrollmentConfigurationItemRequestBuilderDeleteReques { } /// - /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs index 60f644ac83b..9b000ca37d6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs @@ -392,7 +392,7 @@ public DeviceManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Read properties and relationships of the deviceManagement object. - /// Find more info here + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -426,7 +426,7 @@ public DeviceManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Update the properties of a deviceManagement object. - /// Find more info here + /// Find more info here /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs index 3f7aaf0dd54..6f987545bec 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs @@ -41,8 +41,8 @@ public RoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Deletes a roleDefinition. - /// Find more info here + /// Deletes a deviceAndAppManagementRoleDefinition. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -88,8 +88,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a roleDefinition object. - /// Find more info here + /// Update the properties of a deviceAndAppManagementRoleDefinition object. + /// Find more info here /// /// A /// The request body @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a roleDefinition. + /// Deletes a deviceAndAppManagementRoleDefinition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a roleDefinition object. + /// Update the properties of a deviceAndAppManagementRoleDefinition object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index e12fee92bcd..40ba12a11d4 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Devices.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Devices.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index fe3a851f4f5..d24c3b8bb2d 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Devices.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Devices.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index baf5f36f813..0f40fc84d8b 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index ca2c3034f49..f6bfe9cf604 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryNamespace.DeletedItems.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 46c829556fb..2f7a0aaf6c1 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryObjects.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryObjects.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 3ed345e9fa9..40edde0f254 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryObjects.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryObjects.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 781007b21ed..a57d5cb2aba 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoleTemplates.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoleTemplates.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index b641789c585..49857e0f781 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoleTemplates.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoleTemplates.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 9f51a3a3d4d..a1a10684dd0 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoles.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoles.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 5b7117ac2cb..555b935f7a4 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoles.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.DirectoryRoles.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs index 20b5cd67330..8105210adb6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs @@ -81,8 +81,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ItemRetentionLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. - /// Find more info here + /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + /// Find more info here /// /// A /// The request body @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs index 09d12d9f590..d51dadd226a 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 { } /// - /// 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 generated. - /// Find more info here + /// Use this API to create a new Table. + /// 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.Models.WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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 generated. + /// Use this API to create a new Table. /// /// 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 c0061f3d851..60d32fbdd66 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 { } /// - /// 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 generated. - /// Find more info here + /// Use this API to create a new Table. + /// 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.Models.WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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 generated. + /// Use this API to create a new Table. /// /// 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 6b24a9b153f..0d65f45b3fe 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.Models.ExternalConnectors.ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new externalItem object. - /// Find more info here + /// Update the properties of an externalItem object. + /// Find more info here /// /// A /// The request body @@ -158,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new externalItem object. + /// Update the properties of an externalItem object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 57963a19abb..add907229cc 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.GroupSettingTemplates.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.GroupSettingTemplates.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 1f4e06c777f..68aae9c7837 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.GroupSettingTemplates.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.GroupSettingTemplates.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs index 1b72f910f6b..01d4665b01e 100644 --- a/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs @@ -102,8 +102,8 @@ public GroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. - /// Find more info here + /// Create a new group as specified in the request body. You can create the following types of 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. + /// Find more info here /// /// A /// The request body @@ -147,7 +147,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + /// Create a new group as specified in the request body. You can create the following types of 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. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 253dc882cf0..49b9154a8a9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs index 1ef4baf386d..3d0ba1f2ac2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs @@ -78,8 +78,8 @@ public ConversationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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 + /// Use reply thread or reply post to further post to that conversation. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Use reply thread or reply post to further post to that conversation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs index 5559ddb44ef..8e3c4a9200b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -42,7 +42,7 @@ public ConversationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Delete conversation. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,8 +64,8 @@ public async Task DeleteAsync(Action - /// The group's conversations. - /// 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 - /// The group's conversations. + /// 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 : { } /// - /// The group's conversations. + /// 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/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index e779f6455f4..d81b3ba8c91 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Groups.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..df14a2a0b25 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.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}/groups/{group%2Did}/team/schedule/dayNotes/$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}/groups/{group%2Did}/team/schedule/dayNotes/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.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/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilder.cs new file mode 100644 index 00000000000..b0f9e4ce3f0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/DayNotesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count; +using Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// The unique identifier of dayNote + /// A + public global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("dayNote%2Did", position); + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNotesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes{?%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 DayNotesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The day notes in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to dayNotes for groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// A + /// Configuration 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 dayNotes for groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote 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.Groups.Item.Team.Schedule.DayNotes.DayNotesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.DayNotesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilderGetQueryParameters + { + /// 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 DayNotesRequestBuilderGetRequestConfiguration : 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 DayNotesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs new file mode 100644 index 00000000000..0e6980bc0fb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DayNoteItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes/{dayNote%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 DayNoteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property dayNotes for groups + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property dayNotes in groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property dayNotes for groups + /// + /// A + /// Configuration 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 day notes in the schedule. + /// + /// A + /// Configuration 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 dayNotes in groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote 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.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNoteItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilderGetQueryParameters + { + /// 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 DayNoteItemRequestBuilderGetRequestConfiguration : 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 DayNoteItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs index 30056ba0482..8eaacff8707 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes; using Microsoft.Graph.Groups.Item.Team.Schedule.OfferShiftRequests; using Microsoft.Graph.Groups.Item.Team.Schedule.OpenShiftChangeRequests; using Microsoft.Graph.Groups.Item.Team.Schedule.OpenShifts; @@ -7,6 +8,7 @@ using Microsoft.Graph.Groups.Item.Team.Schedule.Share; using Microsoft.Graph.Groups.Item.Team.Schedule.Shifts; using Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests; +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards; using Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffReasons; using Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffRequests; using Microsoft.Graph.Groups.Item.Team.Schedule.TimesOff; @@ -28,6 +30,11 @@ namespace Microsoft.Graph.Groups.Item.Team.Schedule [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ScheduleRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.DayNotesRequestBuilder DayNotes + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.DayNotesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Groups.Item.Team.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder OfferShiftRequests { @@ -63,6 +70,11 @@ public partial class ScheduleRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.TimeCardsRequestBuilder TimeCards + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.TimeCardsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder TimeOffReasons { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs new file mode 100644 index 00000000000..265b3f5d1d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockInPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockInPostRequestBody() + { + 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.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs new file mode 100644 index 00000000000..d2f31d2b189 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn +{ + /// + /// Provides operations to call the clockIn method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockInRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockInRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/clockIn", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ClockInRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/clockIn", rawUrl) + { + } + /// + /// Clock in to start a timeCard. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clock in to start a timeCard. + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody 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.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(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 ClockInRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a1022d84398 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.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}/groups/{group%2Did}/team/schedule/timeCards/$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}/groups/{group%2Did}/team/schedule/timeCards/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.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/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs new file mode 100644 index 00000000000..d17a4832a01 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockOutPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockOutPostRequestBody() + { + 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.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs new file mode 100644 index 00000000000..4503ae5593a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut +{ + /// + /// Provides operations to call the clockOut method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockOutRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockOutRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/clockOut", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ClockOutRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/clockOut", rawUrl) + { + } + /// + /// Invoke action clockOut + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action clockOut + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody 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.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(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 ClockOutRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs new file mode 100644 index 00000000000..1bafad4b586 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm +{ + /// + /// Provides operations to call the confirm method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/confirm", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfirmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/confirm", rawUrl) + { + } + /// + /// Confirm a timeCard. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Confirm a timeCard. + /// + /// A + /// Configuration 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.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(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 ConfirmRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs new file mode 100644 index 00000000000..28ca5d345c3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EndBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EndBreakPostRequestBody() + { + 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.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs new file mode 100644 index 00000000000..b278c860d24 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak +{ + /// + /// Provides operations to call the endBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EndBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EndBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/endBreak", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EndBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/endBreak", rawUrl) + { + } + /// + /// Invoke action endBreak + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action endBreak + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody 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.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(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 EndBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs new file mode 100644 index 00000000000..88f1d3f776d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public StartBreakPostRequestBody() + { + 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.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs new file mode 100644 index 00000000000..8be93196248 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak +{ + /// + /// Provides operations to call the startBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/startBreak", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/startBreak", rawUrl) + { + } + /// + /// Invoke action startBreak + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action startBreak + /// + /// 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.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody 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.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 StartBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs new file mode 100644 index 00000000000..98e3ac5b0f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs @@ -0,0 +1,253 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut; +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm; +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak; +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockOut method. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder ClockOut + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the confirm method. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder Confirm + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the endBreak method. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the startBreak method. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder StartBreak + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 TimeCardItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%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 TimeCardItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property timeCards for groups + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property timeCards in groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property timeCards for groups + /// + /// A + /// Configuration 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 time cards in the schedule. + /// + /// A + /// Configuration 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 timeCards in groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard 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.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilderGetQueryParameters + { + /// 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 TimeCardItemRequestBuilderGetRequestConfiguration : 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 TimeCardItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilder.cs new file mode 100644 index 00000000000..0c3b6eaa460 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeCards/TimeCardsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn; +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count; +using Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockIn method. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInRequestBuilder ClockIn + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// The unique identifier of timeCard + /// A + public global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("timeCard%2Did", position); + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards{?%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 TimeCardsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The time cards in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCardCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to timeCards for groups + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// A + /// Configuration 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 timeCards for groups + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard 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.Groups.Item.Team.Schedule.TimeCards.TimeCardsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.TimeCardsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilderGetQueryParameters + { + /// 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 TimeCardsRequestBuilderGetRequestConfiguration : 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 TimeCardsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 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 56c1c896e66..1fbdcab07c0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -70,8 +70,8 @@ public async Task DeleteAsync(Action - /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. - /// Find more info here + /// Get a thread object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -139,7 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + /// Get a thread object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -197,7 +197,7 @@ public partial class ConversationThreadItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + /// Get a thread object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConversationThreadItemRequestBuilderGetQueryParameters 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 8ff00f1b707..e6b5a291b86 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an ipNamedLocation object. - /// Find more info here + /// Retrieve the properties and relationships of a namedLocation object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an ipNamedLocation object. - /// Find more info here + /// Update the properties of a countryNamedLocation object. + /// Find more info here /// /// A /// The request body @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an ipNamedLocation object. + /// Retrieve the properties and relationships of a namedLocation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an ipNamedLocation object. + /// Update the properties of a countryNamedLocation object. /// /// A /// The request body @@ -185,7 +185,7 @@ public partial class NamedLocationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of an ipNamedLocation object. + /// Retrieve the properties and relationships of a namedLocation object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class NamedLocationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index c3573ad76e9..fda396fd663 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an accessPackageAssignmentWorkflowExtension object. - /// Find more info here + /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an accessPackageAssignmentWorkflowExtension object. + /// Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs index d71dc4fd232..e583dd92780 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Retrieve all files related to an agreement. This includes the default file and all localized files. - /// Find more info here + /// Retrieve the properties and relationships of an agreement object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve all files related to an agreement. This includes the default file and all localized files. + /// Retrieve the properties and relationships of an agreement object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -203,7 +203,7 @@ public partial class AgreementItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Retrieve all files related to an agreement. This includes the default file and all localized files. + /// Retrieve the properties and relationships of an agreement object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AgreementItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs index df96d30528c..48e8c21df21 100644 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs @@ -86,8 +86,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an existing history item for an existing user activity. - /// Find more info here + /// Create a new or replace an existing history item for an existing user activity. + /// Find more info here /// /// A /// The request body @@ -150,7 +150,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Delete an existing history item for an existing user activity. + /// Create a new or replace an existing history item for an existing user activity. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs index bf6e4509359..12097058656 100644 --- a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs @@ -54,7 +54,7 @@ public AgreementAcceptancesRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// Retrieve the signed-in user's agreementAcceptance objects. + /// Allows the signed-in user to retrieve their agreementAcceptance objects. /// Find more info here /// /// A @@ -78,7 +78,7 @@ public AgreementAcceptancesRequestBuilder(string rawUrl, IRequestAdapter request return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the signed-in user's agreementAcceptance objects. + /// Allows the signed-in user to retrieve their agreementAcceptance objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve the signed-in user's agreementAcceptance objects. + /// Allows the signed-in user to retrieve their agreementAcceptance objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AgreementAcceptancesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index dc2f5f7e7ed..0dcaf394b61 100644 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index d4f9f45df39..94556224293 100644 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified user, group, service principal, organizational contact, device, or directory object. This method is transitive. + /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified - user- group- service principal- organizational contact- device- directory object. This method is transitive. /// /// A /// The request body @@ -59,7 +59,7 @@ public CheckMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified user, group, service principal, organizational contact, device, or directory object. This method is transitive. + /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified - user- group- service principal- organizational contact- device- directory object. This method is transitive. /// /// A /// The request body @@ -85,7 +85,7 @@ public CheckMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.CheckMemberObjects.CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified user, group, service principal, organizational contact, device, or directory object. This method is transitive. + /// Check for membership in a list of group IDs, administrative unit IDs, or directory role IDs, for the IDs of the specified - user- group- service principal- organizational contact- device- directory object. This method is transitive. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs index 992e8d73a7e..182debc8a57 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs @@ -84,8 +84,8 @@ public EventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because thestart and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipmentlike a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejectsthe meeting request based on the free/busy schedule of the resource.If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled,the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: - /// Find more info here + /// Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources are supported: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because thestart and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipmentlike a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejectsthe meeting request based on the free/busy schedule of the resource.If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled,the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: + /// Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: The following group resources are supported: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index f5a4098e4e9..6689baa1573 100644 --- a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..3f1cff89125 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.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/joinedTeams/{team%2Did}/schedule/dayNotes/$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/joinedTeams/{team%2Did}/schedule/dayNotes/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.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/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs new file mode 100644 index 00000000000..217887a2265 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// The unique identifier of dayNote + /// A + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("dayNote%2Did", position); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNotesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/dayNotes{?%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 DayNotesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The day notes in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to dayNotes for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// A + /// Configuration 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 dayNotes for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilderGetQueryParameters + { + /// 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 DayNotesRequestBuilderGetRequestConfiguration : 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 DayNotesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs new file mode 100644 index 00000000000..a212642e880 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DayNoteItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/dayNotes/{dayNote%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 DayNoteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property dayNotes for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property dayNotes in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property dayNotes for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The day notes in the schedule. + /// + /// A + /// Configuration 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 dayNotes in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNoteItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilderGetQueryParameters + { + /// 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 DayNoteItemRequestBuilderGetRequestConfiguration : 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 DayNoteItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs index d8ed48f74fb..4c0cfc24778 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShiftChangeRequests; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OpenShifts; @@ -7,6 +8,7 @@ using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests; using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff; @@ -28,6 +30,11 @@ namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ScheduleRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder DayNotes + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder OfferShiftRequests { @@ -63,6 +70,11 @@ public partial class ScheduleRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder TimeCards + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder TimeOffReasons { diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs new file mode 100644 index 00000000000..14787a9b517 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockInPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockInPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs new file mode 100644 index 00000000000..b151529c614 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn +{ + /// + /// Provides operations to call the clockIn method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockInRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockInRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/clockIn", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ClockInRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/clockIn", rawUrl) + { + } + /// + /// Clock in to start a timeCard. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clock in to start a timeCard. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(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 ClockInRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..54846eb65bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.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/joinedTeams/{team%2Did}/schedule/timeCards/$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/joinedTeams/{team%2Did}/schedule/timeCards/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.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/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs new file mode 100644 index 00000000000..d3a6a210a72 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockOutPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockOutPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs new file mode 100644 index 00000000000..d8b14dda22f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut +{ + /// + /// Provides operations to call the clockOut method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockOutRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockOutRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ClockOutRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", rawUrl) + { + } + /// + /// Invoke action clockOut + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action clockOut + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(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 ClockOutRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs new file mode 100644 index 00000000000..67d75ac3a64 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm +{ + /// + /// Provides operations to call the confirm method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfirmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", rawUrl) + { + } + /// + /// Confirm a timeCard. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Confirm a timeCard. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(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 ConfirmRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs new file mode 100644 index 00000000000..e776adea52f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EndBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EndBreakPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs new file mode 100644 index 00000000000..a7b0c67fb1c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak +{ + /// + /// Provides operations to call the endBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EndBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EndBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EndBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", rawUrl) + { + } + /// + /// Invoke action endBreak + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action endBreak + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(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 EndBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs new file mode 100644 index 00000000000..d380f0b7c2f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public StartBreakPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs new file mode 100644 index 00000000000..aa453250567 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak +{ + /// + /// Provides operations to call the startBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", rawUrl) + { + } + /// + /// Invoke action startBreak + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action startBreak + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 StartBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs new file mode 100644 index 00000000000..22343b2d11c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs @@ -0,0 +1,253 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockOut method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder ClockOut + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the confirm method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder Confirm + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the endBreak method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the startBreak method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder StartBreak + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 TimeCardItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%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 TimeCardItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property timeCards for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property timeCards in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property timeCards for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The time cards in the schedule. + /// + /// A + /// Configuration 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 timeCards in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilderGetQueryParameters + { + /// 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 TimeCardItemRequestBuilderGetRequestConfiguration : 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 TimeCardItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs new file mode 100644 index 00000000000..e44b849ebf3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count; +using Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockIn method. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder ClockIn + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// The unique identifier of timeCard + /// A + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("timeCard%2Did", position); + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards{?%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 TimeCardsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The time cards in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCardCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to timeCards for me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// A + /// Configuration 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 timeCards for me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilderGetQueryParameters + { + /// 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 TimeCardsRequestBuilderGetRequestConfiguration : 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 TimeCardsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index e76565a8a5e..219fd552cee 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -84,8 +84,8 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. - /// Find more info here + /// Create a new mailSearchFolder in the specified user's mailbox. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. + /// Create a new mailSearchFolder in the specified user's mailbox. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 56356aa0d5b..0d6103aea33 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -60,8 +60,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve a list of attachment objects attached to a message. - /// Find more info here + /// Retrieve a list of attachment objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -84,8 +84,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. - /// Find more info here + /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. + /// Find more info here /// /// A /// The request body @@ -110,7 +110,7 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -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 a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. /// /// A /// The request body @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Me.Messages.Item.Attachments.AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AttachmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 58f71c22b59..20b0e898e86 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -130,8 +130,8 @@ public async Task DeleteAsync(Action - /// You can get a single resource instance expanded with a specific extended property, or a collection of resource instancesthat include extended properties matching a filter. Using the query parameter $expand allows you to get the specified resource instance expanded with a specific extendedproperty. Use a $filter and eq operator on the id property to specify the extended property. This is currently the only way to get the singleValueLegacyExtendedProperty object that represents an extended property. To get resource instances that have certain extended properties, use the $filter query parameter and apply an eq operatoron the id property. In addition, for numeric extended properties, apply one of the following operators on the value property:eq, ne,ge, gt, le, or lt. For string-typed extended properties, apply a contains, startswith, eq, or ne operator on value. The filter is applied to all instances of the resource in the signed-in user's mailbox. Filtering the string name (Name) in the id of an extended property is case-sensitive. Filtering the value property of an extendedproperty is case-insensitive. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. - /// Find more info here + /// Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -154,8 +154,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an eventMessage object. - /// Find more info here + /// Update the properties of a message object. + /// Find more info here /// /// A /// The request body @@ -199,7 +199,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// You can get a single resource instance expanded with a specific extended property, or a collection of resource instancesthat include extended properties matching a filter. Using the query parameter $expand allows you to get the specified resource instance expanded with a specific extendedproperty. Use a $filter and eq operator on the id property to specify the extended property. This is currently the only way to get the singleValueLegacyExtendedProperty object that represents an extended property. To get resource instances that have certain extended properties, use the $filter query parameter and apply an eq operatoron the id property. In addition, for numeric extended properties, apply one of the following operators on the value property:eq, ne,ge, gt, le, or lt. For string-typed extended properties, apply a contains, startswith, eq, or ne operator on value. The filter is applied to all instances of the resource in the signed-in user's mailbox. Filtering the string name (Name) in the id of an extended property is case-sensitive. Filtering the value property of an extendedproperty is case-insensitive. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. + /// Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -218,7 +218,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an eventMessage object. + /// Update the properties of a message object. /// /// A /// The request body @@ -257,7 +257,7 @@ public partial class MessageItemRequestBuilderDeleteRequestConfiguration : Reque { } /// - /// You can get a single resource instance expanded with a specific extended property, or a collection of resource instancesthat include extended properties matching a filter. Using the query parameter $expand allows you to get the specified resource instance expanded with a specific extendedproperty. Use a $filter and eq operator on the id property to specify the extended property. This is currently the only way to get the singleValueLegacyExtendedProperty object that represents an extended property. To get resource instances that have certain extended properties, use the $filter query parameter and apply an eq operatoron the id property. In addition, for numeric extended properties, apply one of the following operators on the value property:eq, ne,ge, gt, le, or lt. For string-typed extended properties, apply a contains, startswith, eq, or ne operator on value. The filter is applied to all instances of the resource in the signed-in user's mailbox. Filtering the string name (Name) in the id of an extended property is case-sensitive. Filtering the value property of an extendedproperty is case-insensitive. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. + /// Retrieve the properties and relationships of a message object. You can use the $value parameter to get the MIME content of a message. See also an example below. There are two scenarios where an app can get a message in another user's mail folder: Since the message resource supports extensions, you can also use the GET operation to get custom properties and extension data in a message instance. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MessageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs index ce46a22a0c0..831b583b763 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -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 @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an eventMessage object. + /// Update the properties of a message object. /// /// A /// Binary request body diff --git a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs index d065a97ed73..3d72eea4ea1 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the 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 operation, or create a draft to forward, reply and reply-all to an existing message. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the 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 operation, or create a draft to forward, reply and reply-all to an existing message. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs index 8b126146bdc..ee9685f038f 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// Find more info here /// /// A @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs index 6fb9fbee96f..048c51c1c50 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// Find more info here /// /// A @@ -124,7 +124,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. + /// Update the properties of the specified onlineMeeting object. For the list of properties that support updating, see the Request body section. /// Find more info here /// /// A @@ -169,7 +169,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. + /// Update the properties of the specified onlineMeeting object. For the list of properties that support updating, see the Request body section. /// /// A /// The request body @@ -227,7 +227,7 @@ public partial class OnlineMeetingItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OnlineMeetingItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs index 6646539f5c1..ccdfdb45a63 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs @@ -72,7 +72,7 @@ public OnlineMeetingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// Find more info here /// /// A @@ -122,7 +122,7 @@ public OnlineMeetingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -172,7 +172,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Me.OnlineMeetings.OnlineMeetingsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) is an online meeting artifact. For details, see Online meeting artifacts and permissions. + /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For more information, see Online meeting artifacts and permissions. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OnlineMeetingsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Models/AllowedLobbyAdmitterRoles.cs b/src/Microsoft.Graph/Generated/Models/AllowedLobbyAdmitterRoles.cs new file mode 100644 index 00000000000..2afc44546fa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AllowedLobbyAdmitterRoles.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AllowedLobbyAdmitterRoles + #pragma warning restore CS1591 + { + [EnumMember(Value = "organizerAndCoOrganizersAndPresenters")] + #pragma warning disable CS1591 + OrganizerAndCoOrganizersAndPresenters, + #pragma warning restore CS1591 + [EnumMember(Value = "organizerAndCoOrganizers")] + #pragma warning disable CS1591 + OrganizerAndCoOrganizers, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Application.cs b/src/Microsoft.Graph/Generated/Models/Application.cs index cb78a688bb3..f9906e8992b 100644 --- a/src/Microsoft.Graph/Generated/Models/Application.cs +++ b/src/Microsoft.Graph/Generated/Models/Application.cs @@ -394,7 +394,7 @@ public bool? Oauth2RequirePostResponse set { BackingStore?.Set("optionalClaims", value); } } #endif - /// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this application. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Owners diff --git a/src/Microsoft.Graph/Generated/Models/Certification.cs b/src/Microsoft.Graph/Generated/Models/Certification.cs index 22395f1bea3..b2d8e488b1d 100644 --- a/src/Microsoft.Graph/Generated/Models/Certification.cs +++ b/src/Microsoft.Graph/Generated/Models/Certification.cs @@ -49,7 +49,7 @@ public bool? IsCertifiedByMicrosoft get { return BackingStore?.Get("isCertifiedByMicrosoft"); } set { BackingStore?.Set("isCertifiedByMicrosoft", value); } } - /// Indicates whether the application has been self-attested by the application developer or the publisher. + /// Indicates whether the application developer or publisher completed Publisher Attestation. public bool? IsPublisherAttested { get { return BackingStore?.Get("isPublisherAttested"); } diff --git a/src/Microsoft.Graph/Generated/Models/ChangeTrackedEntity.cs b/src/Microsoft.Graph/Generated/Models/ChangeTrackedEntity.cs index 8e8376d1c67..ac8c5770dd2 100644 --- a/src/Microsoft.Graph/Generated/Models/ChangeTrackedEntity.cs +++ b/src/Microsoft.Graph/Generated/Models/ChangeTrackedEntity.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class ChangeTrackedEntity : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// Identity of the creator of the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif /// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z public DateTimeOffset? CreatedDateTime { @@ -51,6 +67,7 @@ public DateTimeOffset? LastModifiedDateTime var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.dayNote" => new global::Microsoft.Graph.Models.DayNote(), "#microsoft.graph.offerShiftRequest" => new global::Microsoft.Graph.Models.OfferShiftRequest(), "#microsoft.graph.openShift" => new global::Microsoft.Graph.Models.OpenShift(), "#microsoft.graph.openShiftChangeRequest" => new global::Microsoft.Graph.Models.OpenShiftChangeRequest(), @@ -59,6 +76,7 @@ public DateTimeOffset? LastModifiedDateTime "#microsoft.graph.shift" => new global::Microsoft.Graph.Models.Shift(), "#microsoft.graph.shiftPreferences" => new global::Microsoft.Graph.Models.ShiftPreferences(), "#microsoft.graph.swapShiftsChangeRequest" => new global::Microsoft.Graph.Models.SwapShiftsChangeRequest(), + "#microsoft.graph.timeCard" => new global::Microsoft.Graph.Models.TimeCard(), "#microsoft.graph.timeOff" => new global::Microsoft.Graph.Models.TimeOff(), "#microsoft.graph.timeOffReason" => new global::Microsoft.Graph.Models.TimeOffReason(), "#microsoft.graph.timeOffRequest" => new global::Microsoft.Graph.Models.TimeOffRequest(), @@ -74,6 +92,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, @@ -87,6 +106,7 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("createdBy", CreatedBy); } } } diff --git a/src/Microsoft.Graph/Generated/Models/ChatRestrictions.cs b/src/Microsoft.Graph/Generated/Models/ChatRestrictions.cs index 649ee198b23..fd7f9f0d68c 100644 --- a/src/Microsoft.Graph/Generated/Models/ChatRestrictions.cs +++ b/src/Microsoft.Graph/Generated/Models/ChatRestrictions.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The allowTextOnly property + /// Indicates whether only text is allowed in the meeting chat. Optional. public bool? AllowTextOnly { get { return BackingStore?.Get("allowTextOnly"); } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicy.cs b/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicy.cs index 5b535a7f2b4..c65121690a8 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicy.cs @@ -43,6 +43,22 @@ public string AlternateResourceUrl get { return BackingStore?.Get>("assignments"); } set { BackingStore?.Set("assignments", value); } } +#endif + /// The autopatch property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch? Autopatch + { + get { return BackingStore?.Get("autopatch"); } + set { BackingStore?.Set("autopatch", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch Autopatch + { + get { return BackingStore?.Get("autopatch"); } + set { BackingStore?.Set("autopatch", value); } + } #endif /// The display name of the Cloud PC group that the Cloud PCs reside in. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -238,6 +254,7 @@ public override IDictionary> GetFieldDeserializers() { { "alternateResourceUrl", n => { AlternateResourceUrl = n.GetStringValue(); } }, { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CloudPcProvisioningPolicyAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "autopatch", n => { Autopatch = n.GetObjectValue(global::Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch.CreateFromDiscriminatorValue); } }, { "cloudPcGroupDisplayName", n => { CloudPcGroupDisplayName = n.GetStringValue(); } }, { "cloudPcNamingTemplate", n => { CloudPcNamingTemplate = n.GetStringValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, @@ -264,6 +281,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteStringValue("alternateResourceUrl", AlternateResourceUrl); writer.WriteCollectionOfObjectValues("assignments", Assignments); + writer.WriteObjectValue("autopatch", Autopatch); writer.WriteStringValue("cloudPcGroupDisplayName", CloudPcGroupDisplayName); writer.WriteStringValue("cloudPcNamingTemplate", CloudPcNamingTemplate); writer.WriteStringValue("description", Description); diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicyAutopatch.cs b/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicyAutopatch.cs new file mode 100644 index 00000000000..2be1af8332d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcProvisioningPolicyAutopatch.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcProvisioningPolicyAutopatch : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autopatchGroupId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AutopatchGroupId + { + get { return BackingStore?.Get("autopatchGroupId"); } + set { BackingStore?.Set("autopatchGroupId", value); } + } +#nullable restore +#else + public string AutopatchGroupId + { + get { return BackingStore?.Get("autopatchGroupId"); } + set { BackingStore?.Set("autopatchGroupId", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcProvisioningPolicyAutopatch() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autopatchGroupId", n => { AutopatchGroupId = 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("autopatchGroupId", AutopatchGroupId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ConfirmedBy.cs b/src/Microsoft.Graph/Generated/Models/ConfirmedBy.cs new file mode 100644 index 00000000000..cf8a0860728 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ConfirmedBy.cs @@ -0,0 +1,29 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum ConfirmedBy + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "user")] + #pragma warning disable CS1591 + User = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "manager")] + #pragma warning disable CS1591 + Manager = 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/DayNote.cs b/src/Microsoft.Graph/Generated/Models/DayNote.cs new file mode 100644 index 00000000000..d1f8046b2fe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DayNote.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DayNote : global::Microsoft.Graph.Models.ChangeTrackedEntity, IParsable + #pragma warning restore CS1591 + { + /// The date of the day note. + public Date? DayNoteDate + { + get { return BackingStore?.Get("dayNoteDate"); } + set { BackingStore?.Set("dayNoteDate", value); } + } + /// The draft version of this day note that is viewable by managers. Only contentType text is supported. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? DraftDayNote + { + get { return BackingStore?.Get("draftDayNote"); } + set { BackingStore?.Set("draftDayNote", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody DraftDayNote + { + get { return BackingStore?.Get("draftDayNote"); } + set { BackingStore?.Set("draftDayNote", value); } + } +#endif + /// The shared version of this day note that is viewable by both employees and managers. Only contentType text is supported. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? SharedDayNote + { + get { return BackingStore?.Get("sharedDayNote"); } + set { BackingStore?.Set("sharedDayNote", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody SharedDayNote + { + get { return BackingStore?.Get("sharedDayNote"); } + set { BackingStore?.Set("sharedDayNote", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DayNote() : base() + { + OdataType = "#microsoft.graph.dayNote"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.DayNote CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.DayNote(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "dayNoteDate", n => { DayNoteDate = n.GetDateValue(); } }, + { "draftDayNote", n => { DraftDayNote = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + { "sharedDayNote", n => { SharedDayNote = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteDateValue("dayNoteDate", DayNoteDate); + writer.WriteObjectValue("draftDayNote", DraftDayNote); + writer.WriteObjectValue("sharedDayNote", SharedDayNote); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DayNoteCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/DayNoteCollectionResponse.cs new file mode 100644 index 00000000000..cc2b148f3b0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DayNoteCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DayNoteCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.DayNoteCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.DayNoteCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DayNote.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/DeviceConfigurationDeviceStatus.cs b/src/Microsoft.Graph/Generated/Models/DeviceConfigurationDeviceStatus.cs index c0afe79a20a..e1074861621 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceConfigurationDeviceStatus.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceConfigurationDeviceStatus.cs @@ -7,10 +7,11 @@ using System; namespace Microsoft.Graph.Models { + /// + /// Support for this Entity is being deprecated starting May 2026 & will no longer be supported. + /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - #pragma warning disable CS1591 public partial class DeviceConfigurationDeviceStatus : global::Microsoft.Graph.Models.Entity, IParsable - #pragma warning restore CS1591 { /// The DateTime when device compliance grace period expires public DateTimeOffset? ComplianceGracePeriodExpirationDateTime diff --git a/src/Microsoft.Graph/Generated/Models/DeviceConfigurationState.cs b/src/Microsoft.Graph/Generated/Models/DeviceConfigurationState.cs index 6bd57ab248d..a83373fbc8d 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceConfigurationState.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceConfigurationState.cs @@ -8,7 +8,7 @@ namespace Microsoft.Graph.Models { /// - /// Device Configuration State for a given device. + /// Support for this Entity is being deprecated starting May 2026 & will no longer be supported. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceConfigurationState : global::Microsoft.Graph.Models.Entity, IParsable diff --git a/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentPlatformRestrictionsConfiguration.cs b/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentPlatformRestrictionsConfiguration.cs index 052b2097452..6bc62a9401e 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentPlatformRestrictionsConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentPlatformRestrictionsConfiguration.cs @@ -8,7 +8,7 @@ namespace Microsoft.Graph.Models { /// - /// Device Enrollment Configuration that restricts the types of devices a user can enroll + /// Default Device Enrollment Platform Restrictions Configuration that restricts the types of devices a user can enroll /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceEnrollmentPlatformRestrictionsConfiguration : global::Microsoft.Graph.Models.DeviceEnrollmentConfiguration, IParsable diff --git a/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentType.cs b/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentType.cs index 37e6bc46d42..10846bc6156 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentType.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceEnrollmentType.cs @@ -22,7 +22,7 @@ public enum DeviceEnrollmentType /// Apple bulk enrollment without user challenge. (DEP, Apple Configurator, Mobile Config) [EnumMember(Value = "appleBulkWithoutUser")] AppleBulkWithoutUser, - /// Windows 10 Azure AD Join. + /// Windows 10 Entra ID (Azure AD) Join. [EnumMember(Value = "windowsAzureADJoin")] WindowsAzureADJoin, /// Windows 10 Bulk enrollment through ICD with certificate. @@ -31,19 +31,19 @@ public enum DeviceEnrollmentType /// Windows 10 automatic enrollment. (Add work account) [EnumMember(Value = "windowsAutoEnrollment")] WindowsAutoEnrollment, - /// Windows 10 bulk Azure AD Join. + /// Windows 10 bulk Entra ID (Azure AD) Join. [EnumMember(Value = "windowsBulkAzureDomainJoin")] WindowsBulkAzureDomainJoin, /// Windows 10 Co-Management triggered by AutoPilot or Group Policy. [EnumMember(Value = "windowsCoManagement")] WindowsCoManagement, - /// Windows 10 Azure AD Join using Device Auth. + /// Windows 10 Entra ID (Azure AD) Join using Device Auth. [EnumMember(Value = "windowsAzureADJoinUsingDeviceAuth")] WindowsAzureADJoinUsingDeviceAuth, - /// Device managed by Apple user enrollment + /// Indicates the device is enrolled via Apple User Enrollment with Company Portal. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities [EnumMember(Value = "appleUserEnrollment")] AppleUserEnrollment, - /// Device managed by Apple user enrollment with service account + /// Indicates the device is enrolled via Apple User Enrollment with Company Portal using a device enrollment manager user. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities [EnumMember(Value = "appleUserEnrollmentWithServiceAccount")] AppleUserEnrollmentWithServiceAccount, } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagement.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagement.cs index 81367b0d678..3b585dc5c66 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagement.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagement.cs @@ -7,11 +7,10 @@ using System; namespace Microsoft.Graph.Models { - /// - /// Singleton entity that acts as a container for all device management functionality. - /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 public partial class DeviceManagement : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 { /// Apple push notification certificate. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 1b3b94ff05b..d424091b2cd 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -257,6 +257,7 @@ public Entity() "#microsoft.graph.customExtensionStageSetting" => new global::Microsoft.Graph.Models.CustomExtensionStageSetting(), "#microsoft.graph.customSecurityAttributeDefinition" => new global::Microsoft.Graph.Models.CustomSecurityAttributeDefinition(), "#microsoft.graph.dataPolicyOperation" => new global::Microsoft.Graph.Models.DataPolicyOperation(), + "#microsoft.graph.dayNote" => new global::Microsoft.Graph.Models.DayNote(), "#microsoft.graph.defaultManagedAppProtection" => new global::Microsoft.Graph.Models.DefaultManagedAppProtection(), "#microsoft.graph.delegatedAdminAccessAssignment" => new global::Microsoft.Graph.Models.DelegatedAdminAccessAssignment(), "#microsoft.graph.delegatedAdminCustomer" => new global::Microsoft.Graph.Models.DelegatedAdminCustomer(), @@ -863,6 +864,7 @@ public Entity() "#microsoft.graph.threatAssessmentRequest" => new global::Microsoft.Graph.Models.ThreatAssessmentRequest(), "#microsoft.graph.threatAssessmentResult" => new global::Microsoft.Graph.Models.ThreatAssessmentResult(), "#microsoft.graph.thumbnailSet" => new global::Microsoft.Graph.Models.ThumbnailSet(), + "#microsoft.graph.timeCard" => new global::Microsoft.Graph.Models.TimeCard(), "#microsoft.graph.timeOff" => new global::Microsoft.Graph.Models.TimeOff(), "#microsoft.graph.timeOffReason" => new global::Microsoft.Graph.Models.TimeOffReason(), "#microsoft.graph.timeOffRequest" => new global::Microsoft.Graph.Models.TimeOffRequest(), diff --git a/src/Microsoft.Graph/Generated/Models/ManagedDeviceOwnerType.cs b/src/Microsoft.Graph/Generated/Models/ManagedDeviceOwnerType.cs index 1776af2f32f..8b65a9cfc9a 100644 --- a/src/Microsoft.Graph/Generated/Models/ManagedDeviceOwnerType.cs +++ b/src/Microsoft.Graph/Generated/Models/ManagedDeviceOwnerType.cs @@ -7,14 +7,17 @@ namespace Microsoft.Graph.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public enum ManagedDeviceOwnerType { - /// Unknown. + /// Unknown device owner type. [EnumMember(Value = "unknown")] Unknown, - /// Owned by company. + /// Corporate device owner type. [EnumMember(Value = "company")] Company, - /// Owned by person. + /// Personal device owner type. [EnumMember(Value = "personal")] Personal, + /// Evolvable enumeration sentinel value. Do not use. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, } } diff --git a/src/Microsoft.Graph/Generated/Models/MeetingLiveShareOptions.cs b/src/Microsoft.Graph/Generated/Models/MeetingLiveShareOptions.cs new file mode 100644 index 00000000000..049a1729b29 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MeetingLiveShareOptions.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum MeetingLiveShareOptions + #pragma warning restore CS1591 + { + [EnumMember(Value = "enabled")] + #pragma warning disable CS1591 + Enabled, + #pragma warning restore CS1591 + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/OnlineMeetingBase.cs b/src/Microsoft.Graph/Generated/Models/OnlineMeetingBase.cs index b25a6d5e382..bdb1e803688 100644 --- a/src/Microsoft.Graph/Generated/Models/OnlineMeetingBase.cs +++ b/src/Microsoft.Graph/Generated/Models/OnlineMeetingBase.cs @@ -24,12 +24,30 @@ public bool? AllowAttendeeToEnableMic get { return BackingStore?.Get("allowAttendeeToEnableMic"); } set { BackingStore?.Set("allowAttendeeToEnableMic", value); } } + /// Indicates whether breakout rooms are enabled for the meeting. + public bool? AllowBreakoutRooms + { + get { return BackingStore?.Get("allowBreakoutRooms"); } + set { BackingStore?.Set("allowBreakoutRooms", value); } + } + /// Specifies the users who can admit from the lobby. Possible values are: organizerAndCoOrganizersAndPresenters, organizerAndCoOrganizers, unknownFutureValue. + public global::Microsoft.Graph.Models.AllowedLobbyAdmitterRoles? AllowedLobbyAdmitters + { + get { return BackingStore?.Get("allowedLobbyAdmitters"); } + set { BackingStore?.Set("allowedLobbyAdmitters", value); } + } /// Specifies who can be a presenter in a meeting. public global::Microsoft.Graph.Models.OnlineMeetingPresenters? AllowedPresenters { get { return BackingStore?.Get("allowedPresenters"); } set { BackingStore?.Set("allowedPresenters", value); } } + /// Indicates whether live share is enabled for the meeting. Possible values are: enabled, disabled, unknownFutureValue. + public global::Microsoft.Graph.Models.MeetingLiveShareOptions? AllowLiveShare + { + get { return BackingStore?.Get("allowLiveShare"); } + set { BackingStore?.Set("allowLiveShare", value); } + } /// Specifies the mode of the meeting chat. public global::Microsoft.Graph.Models.MeetingChatMode? AllowMeetingChat { @@ -42,6 +60,12 @@ public bool? AllowParticipantsToChangeName get { return BackingStore?.Get("allowParticipantsToChangeName"); } set { BackingStore?.Set("allowParticipantsToChangeName", value); } } + /// Indicates whether PowerPoint live is enabled for the meeting. + public bool? AllowPowerPointSharing + { + get { return BackingStore?.Get("allowPowerPointSharing"); } + set { BackingStore?.Set("allowPowerPointSharing", value); } + } /// Indicates whether recording is enabled for the meeting. public bool? AllowRecording { @@ -60,6 +84,12 @@ public bool? AllowTranscription get { return BackingStore?.Get("allowTranscription"); } set { BackingStore?.Set("allowTranscription", value); } } + /// Indicates whether whiteboard is enabled for the meeting. + public bool? AllowWhiteboard + { + get { return BackingStore?.Get("allowWhiteboard"); } + set { BackingStore?.Set("allowWhiteboard", value); } + } /// The attendance reports of an online meeting. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -108,7 +138,7 @@ public bool? AllowTranscription set { BackingStore?.Set("chatInfo", value); } } #endif - /// The chatRestrictions property + /// Specifies the configuration settings for meeting chat restrictions. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.ChatRestrictions? ChatRestrictions @@ -280,11 +310,16 @@ public override IDictionary> GetFieldDeserializers() { { "allowAttendeeToEnableCamera", n => { AllowAttendeeToEnableCamera = n.GetBoolValue(); } }, { "allowAttendeeToEnableMic", n => { AllowAttendeeToEnableMic = n.GetBoolValue(); } }, + { "allowBreakoutRooms", n => { AllowBreakoutRooms = n.GetBoolValue(); } }, + { "allowLiveShare", n => { AllowLiveShare = n.GetEnumValue(); } }, { "allowMeetingChat", n => { AllowMeetingChat = n.GetEnumValue(); } }, { "allowParticipantsToChangeName", n => { AllowParticipantsToChangeName = n.GetBoolValue(); } }, + { "allowPowerPointSharing", n => { AllowPowerPointSharing = n.GetBoolValue(); } }, { "allowRecording", n => { AllowRecording = n.GetBoolValue(); } }, { "allowTeamworkReactions", n => { AllowTeamworkReactions = n.GetBoolValue(); } }, { "allowTranscription", n => { AllowTranscription = n.GetBoolValue(); } }, + { "allowWhiteboard", n => { AllowWhiteboard = n.GetBoolValue(); } }, + { "allowedLobbyAdmitters", n => { AllowedLobbyAdmitters = n.GetEnumValue(); } }, { "allowedPresenters", n => { AllowedPresenters = n.GetEnumValue(); } }, { "attendanceReports", n => { AttendanceReports = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MeetingAttendanceReport.CreateFromDiscriminatorValue)?.AsList(); } }, { "audioConferencing", n => { AudioConferencing = n.GetObjectValue(global::Microsoft.Graph.Models.AudioConferencing.CreateFromDiscriminatorValue); } }, @@ -312,12 +347,17 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteBoolValue("allowAttendeeToEnableCamera", AllowAttendeeToEnableCamera); writer.WriteBoolValue("allowAttendeeToEnableMic", AllowAttendeeToEnableMic); + writer.WriteBoolValue("allowBreakoutRooms", AllowBreakoutRooms); + writer.WriteEnumValue("allowedLobbyAdmitters", AllowedLobbyAdmitters); writer.WriteEnumValue("allowedPresenters", AllowedPresenters); + writer.WriteEnumValue("allowLiveShare", AllowLiveShare); writer.WriteEnumValue("allowMeetingChat", AllowMeetingChat); writer.WriteBoolValue("allowParticipantsToChangeName", AllowParticipantsToChangeName); + writer.WriteBoolValue("allowPowerPointSharing", AllowPowerPointSharing); writer.WriteBoolValue("allowRecording", AllowRecording); writer.WriteBoolValue("allowTeamworkReactions", AllowTeamworkReactions); writer.WriteBoolValue("allowTranscription", AllowTranscription); + writer.WriteBoolValue("allowWhiteboard", AllowWhiteboard); writer.WriteCollectionOfObjectValues("attendanceReports", AttendanceReports); writer.WriteObjectValue("audioConferencing", AudioConferencing); writer.WriteObjectValue("chatInfo", ChatInfo); diff --git a/src/Microsoft.Graph/Generated/Models/Schedule.cs b/src/Microsoft.Graph/Generated/Models/Schedule.cs index 58917f505e9..7ead0bbc848 100644 --- a/src/Microsoft.Graph/Generated/Models/Schedule.cs +++ b/src/Microsoft.Graph/Generated/Models/Schedule.cs @@ -12,12 +12,34 @@ namespace Microsoft.Graph.Models public partial class Schedule : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The day notes in the schedule. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DayNotes + { + get { return BackingStore?.Get?>("dayNotes"); } + set { BackingStore?.Set("dayNotes", value); } + } +#nullable restore +#else + public List DayNotes + { + get { return BackingStore?.Get>("dayNotes"); } + set { BackingStore?.Set("dayNotes", value); } + } +#endif /// Indicates whether the schedule is enabled for the team. Required. public bool? Enabled { get { return BackingStore?.Get("enabled"); } set { BackingStore?.Set("enabled", value); } } + /// Indicates whether copied shifts include activities from the original shift. + public bool? IsActivitiesIncludedWhenCopyingShiftsEnabled + { + get { return BackingStore?.Get("isActivitiesIncludedWhenCopyingShiftsEnabled"); } + set { BackingStore?.Set("isActivitiesIncludedWhenCopyingShiftsEnabled", value); } + } /// The offer requests for shifts in the schedule. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -132,6 +154,12 @@ public string ProvisionStatusCode set { BackingStore?.Set("shifts", value); } } #endif + /// Indicates the start day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. + public global::Microsoft.Graph.Models.DayOfWeekObject? StartDayOfWeek + { + get { return BackingStore?.Get("startDayOfWeek"); } + set { BackingStore?.Set("startDayOfWeek", value); } + } /// The swap requests for shifts in the schedule. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -154,12 +182,44 @@ public bool? SwapShiftsRequestsEnabled get { return BackingStore?.Get("swapShiftsRequestsEnabled"); } set { BackingStore?.Set("swapShiftsRequestsEnabled", value); } } + /// The time cards in the schedule. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? TimeCards + { + get { return BackingStore?.Get?>("timeCards"); } + set { BackingStore?.Set("timeCards", value); } + } +#nullable restore +#else + public List TimeCards + { + get { return BackingStore?.Get>("timeCards"); } + set { BackingStore?.Set("timeCards", value); } + } +#endif /// Indicates whether time clock is enabled for the schedule. public bool? TimeClockEnabled { get { return BackingStore?.Get("timeClockEnabled"); } set { BackingStore?.Set("timeClockEnabled", value); } } + /// The time clock location settings for this schedule. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeClockSettings? TimeClockSettings + { + get { return BackingStore?.Get("timeClockSettings"); } + set { BackingStore?.Set("timeClockSettings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeClockSettings TimeClockSettings + { + get { return BackingStore?.Get("timeClockSettings"); } + set { BackingStore?.Set("timeClockSettings", value); } + } +#endif /// The set of reasons for a time off in the schedule. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -230,7 +290,7 @@ public string TimeZone set { BackingStore?.Set("timeZone", value); } } #endif - /// The workforceIntegrationIds property + /// The IDs for the workforce integrations associated with this schedule. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? WorkforceIntegrationIds @@ -264,7 +324,9 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "dayNotes", n => { DayNotes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue)?.AsList(); } }, { "enabled", n => { Enabled = n.GetBoolValue(); } }, + { "isActivitiesIncludedWhenCopyingShiftsEnabled", n => { IsActivitiesIncludedWhenCopyingShiftsEnabled = n.GetBoolValue(); } }, { "offerShiftRequests", n => { OfferShiftRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OfferShiftRequest.CreateFromDiscriminatorValue)?.AsList(); } }, { "offerShiftRequestsEnabled", n => { OfferShiftRequestsEnabled = n.GetBoolValue(); } }, { "openShiftChangeRequests", n => { OpenShiftChangeRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OpenShiftChangeRequest.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -274,9 +336,12 @@ public override IDictionary> GetFieldDeserializers() { "provisionStatusCode", n => { ProvisionStatusCode = n.GetStringValue(); } }, { "schedulingGroups", n => { SchedulingGroups = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SchedulingGroup.CreateFromDiscriminatorValue)?.AsList(); } }, { "shifts", n => { Shifts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Shift.CreateFromDiscriminatorValue)?.AsList(); } }, + { "startDayOfWeek", n => { StartDayOfWeek = n.GetEnumValue(); } }, { "swapShiftsChangeRequests", n => { SwapShiftsChangeRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SwapShiftsChangeRequest.CreateFromDiscriminatorValue)?.AsList(); } }, { "swapShiftsRequestsEnabled", n => { SwapShiftsRequestsEnabled = n.GetBoolValue(); } }, + { "timeCards", n => { TimeCards = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue)?.AsList(); } }, { "timeClockEnabled", n => { TimeClockEnabled = n.GetBoolValue(); } }, + { "timeClockSettings", n => { TimeClockSettings = n.GetObjectValue(global::Microsoft.Graph.Models.TimeClockSettings.CreateFromDiscriminatorValue); } }, { "timeOffReasons", n => { TimeOffReasons = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TimeOffReason.CreateFromDiscriminatorValue)?.AsList(); } }, { "timeOffRequests", n => { TimeOffRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TimeOffRequest.CreateFromDiscriminatorValue)?.AsList(); } }, { "timeOffRequestsEnabled", n => { TimeOffRequestsEnabled = n.GetBoolValue(); } }, @@ -293,7 +358,9 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("dayNotes", DayNotes); writer.WriteBoolValue("enabled", Enabled); + writer.WriteBoolValue("isActivitiesIncludedWhenCopyingShiftsEnabled", IsActivitiesIncludedWhenCopyingShiftsEnabled); writer.WriteCollectionOfObjectValues("offerShiftRequests", OfferShiftRequests); writer.WriteBoolValue("offerShiftRequestsEnabled", OfferShiftRequestsEnabled); writer.WriteCollectionOfObjectValues("openShiftChangeRequests", OpenShiftChangeRequests); @@ -301,9 +368,12 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("openShiftsEnabled", OpenShiftsEnabled); writer.WriteCollectionOfObjectValues("schedulingGroups", SchedulingGroups); writer.WriteCollectionOfObjectValues("shifts", Shifts); + writer.WriteEnumValue("startDayOfWeek", StartDayOfWeek); writer.WriteCollectionOfObjectValues("swapShiftsChangeRequests", SwapShiftsChangeRequests); writer.WriteBoolValue("swapShiftsRequestsEnabled", SwapShiftsRequestsEnabled); + writer.WriteCollectionOfObjectValues("timeCards", TimeCards); writer.WriteBoolValue("timeClockEnabled", TimeClockEnabled); + writer.WriteObjectValue("timeClockSettings", TimeClockSettings); writer.WriteCollectionOfObjectValues("timeOffReasons", TimeOffReasons); writer.WriteCollectionOfObjectValues("timeOffRequests", TimeOffRequests); writer.WriteBoolValue("timeOffRequestsEnabled", TimeOffRequestsEnabled); diff --git a/src/Microsoft.Graph/Generated/Models/SchedulingGroup.cs b/src/Microsoft.Graph/Generated/Models/SchedulingGroup.cs index 1c7db387361..7b617f92094 100644 --- a/src/Microsoft.Graph/Generated/Models/SchedulingGroup.cs +++ b/src/Microsoft.Graph/Generated/Models/SchedulingGroup.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class SchedulingGroup : global::Microsoft.Graph.Models.ChangeTrackedEntity, IParsable #pragma warning restore CS1591 { + /// The code for the schedulingGroup to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#nullable restore +#else + public string Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#endif /// The display name for the schedulingGroup. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -75,6 +91,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "code", n => { Code = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "isActive", n => { IsActive = n.GetBoolValue(); } }, { "userIds", n => { UserIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, @@ -88,6 +105,7 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteStringValue("code", Code); writer.WriteStringValue("displayName", DisplayName); writer.WriteCollectionOfPrimitiveValues("userIds", UserIds); } diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs index 43b438119d1..0d7ed65cc00 100644 --- a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs @@ -526,7 +526,7 @@ public List NotificationEmailAddresses set { BackingStore?.Set("ownedObjects", value); } } #endif - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Owners diff --git a/src/Microsoft.Graph/Generated/Models/Shift.cs b/src/Microsoft.Graph/Generated/Models/Shift.cs index 669d4bd817a..2efe408da0f 100644 --- a/src/Microsoft.Graph/Generated/Models/Shift.cs +++ b/src/Microsoft.Graph/Generated/Models/Shift.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class Shift : global::Microsoft.Graph.Models.ChangeTrackedEntity, IParsable #pragma warning restore CS1591 { - /// Draft changes in the shift. Draft changes are only visible to managers. The changes are visible to employees when they are shared, which copies the changes from the draftShift to the sharedShift property. + /// Draft changes in the shift. Draft changes are only visible to managers. The changes are visible to employees when they're shared, which copies the changes from the draftShift to the sharedShift property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.ShiftItem? DraftShift diff --git a/src/Microsoft.Graph/Generated/Models/TimeCard.cs b/src/Microsoft.Graph/Generated/Models/TimeCard.cs new file mode 100644 index 00000000000..d7247c6ea61 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeCard.cs @@ -0,0 +1,177 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeCard : global::Microsoft.Graph.Models.ChangeTrackedEntity, IParsable + #pragma warning restore CS1591 + { + /// The list of breaks associated with the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Breaks + { + get { return BackingStore?.Get?>("breaks"); } + set { BackingStore?.Set("breaks", value); } + } +#nullable restore +#else + public List Breaks + { + get { return BackingStore?.Get>("breaks"); } + set { BackingStore?.Set("breaks", value); } + } +#endif + /// The clock-in event of the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEvent? ClockInEvent + { + get { return BackingStore?.Get("clockInEvent"); } + set { BackingStore?.Set("clockInEvent", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEvent ClockInEvent + { + get { return BackingStore?.Get("clockInEvent"); } + set { BackingStore?.Set("clockInEvent", value); } + } +#endif + /// The clock-out event of the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEvent? ClockOutEvent + { + get { return BackingStore?.Get("clockOutEvent"); } + set { BackingStore?.Set("clockOutEvent", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEvent ClockOutEvent + { + get { return BackingStore?.Get("clockOutEvent"); } + set { BackingStore?.Set("clockOutEvent", value); } + } +#endif + /// Indicates whether this timeCard entry is confirmed. Possible values are: none, user, manager, unknownFutureValue. + public global::Microsoft.Graph.Models.ConfirmedBy? ConfirmedBy + { + get { return BackingStore?.Get("confirmedBy"); } + set { BackingStore?.Set("confirmedBy", value); } + } + /// Notes about the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// The original timeCardEntry of the timeCard before it was edited. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEntry? OriginalEntry + { + get { return BackingStore?.Get("originalEntry"); } + set { BackingStore?.Set("originalEntry", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEntry OriginalEntry + { + get { return BackingStore?.Get("originalEntry"); } + set { BackingStore?.Set("originalEntry", value); } + } +#endif + /// The current state of the timeCard during its life cycle. The possible values are: clockedIn, onBreak, clockedOut, unknownFutureValue. + public global::Microsoft.Graph.Models.TimeCardState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// User ID to which the timeCard belongs. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#nullable restore +#else + public string UserId + { + get { return BackingStore?.Get("userId"); } + set { BackingStore?.Set("userId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TimeCard() : base() + { + OdataType = "#microsoft.graph.timeCard"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TimeCard CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeCard(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "breaks", n => { Breaks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TimeCardBreak.CreateFromDiscriminatorValue)?.AsList(); } }, + { "clockInEvent", n => { ClockInEvent = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEvent.CreateFromDiscriminatorValue); } }, + { "clockOutEvent", n => { ClockOutEvent = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEvent.CreateFromDiscriminatorValue); } }, + { "confirmedBy", n => { ConfirmedBy = n.GetEnumValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + { "originalEntry", n => { OriginalEntry = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEntry.CreateFromDiscriminatorValue); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "userId", n => { UserId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("breaks", Breaks); + writer.WriteObjectValue("clockInEvent", ClockInEvent); + writer.WriteObjectValue("clockOutEvent", ClockOutEvent); + writer.WriteEnumValue("confirmedBy", ConfirmedBy); + writer.WriteObjectValue("notes", Notes); + writer.WriteObjectValue("originalEntry", OriginalEntry); + writer.WriteEnumValue("state", State); + writer.WriteStringValue("userId", UserId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TimeCardBreak.cs b/src/Microsoft.Graph/Generated/Models/TimeCardBreak.cs new file mode 100644 index 00000000000..d85f958d49e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeCardBreak.cs @@ -0,0 +1,153 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeCardBreak : 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; } + /// ID of the timeCardBreak. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BreakId + { + get { return BackingStore?.Get("breakId"); } + set { BackingStore?.Set("breakId", value); } + } +#nullable restore +#else + public string BreakId + { + get { return BackingStore?.Get("breakId"); } + set { BackingStore?.Set("breakId", value); } + } +#endif + /// The start event of the timeCardBreak. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEvent? End + { + get { return BackingStore?.Get("end"); } + set { BackingStore?.Set("end", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEvent End + { + get { return BackingStore?.Get("end"); } + set { BackingStore?.Set("end", value); } + } +#endif + /// Notes about the timeCardBreak. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", 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 start property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEvent? Start + { + get { return BackingStore?.Get("start"); } + set { BackingStore?.Set("start", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEvent Start + { + get { return BackingStore?.Get("start"); } + set { BackingStore?.Set("start", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TimeCardBreak() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.TimeCardBreak CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeCardBreak(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "breakId", n => { BreakId = n.GetStringValue(); } }, + { "end", n => { End = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEvent.CreateFromDiscriminatorValue); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "start", n => { Start = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEvent.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("breakId", BreakId); + writer.WriteObjectValue("end", End); + writer.WriteObjectValue("notes", Notes); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("start", Start); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TimeCardCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/TimeCardCollectionResponse.cs new file mode 100644 index 00000000000..b9c7be36585 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeCardCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeCardCollectionResponse : global::Microsoft.Graph.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.TimeCardCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeCardCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TimeCard.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/TimeCardEntry.cs b/src/Microsoft.Graph/Generated/Models/TimeCardEntry.cs new file mode 100644 index 00000000000..dfcaa985f18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeCardEntry.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeCardEntry : 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 clock-in event of the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Breaks + { + get { return BackingStore?.Get?>("breaks"); } + set { BackingStore?.Set("breaks", value); } + } +#nullable restore +#else + public List Breaks + { + get { return BackingStore?.Get>("breaks"); } + set { BackingStore?.Set("breaks", value); } + } +#endif + /// The clock-out event of the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEvent? ClockInEvent + { + get { return BackingStore?.Get("clockInEvent"); } + set { BackingStore?.Set("clockInEvent", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEvent ClockInEvent + { + get { return BackingStore?.Get("clockInEvent"); } + set { BackingStore?.Set("clockInEvent", value); } + } +#endif + /// The list of breaks associated with the timeCard. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TimeCardEvent? ClockOutEvent + { + get { return BackingStore?.Get("clockOutEvent"); } + set { BackingStore?.Set("clockOutEvent", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TimeCardEvent ClockOutEvent + { + get { return BackingStore?.Get("clockOutEvent"); } + set { BackingStore?.Set("clockOutEvent", 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 TimeCardEntry() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.TimeCardEntry CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeCardEntry(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "breaks", n => { Breaks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TimeCardBreak.CreateFromDiscriminatorValue)?.AsList(); } }, + { "clockInEvent", n => { ClockInEvent = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEvent.CreateFromDiscriminatorValue); } }, + { "clockOutEvent", n => { ClockOutEvent = n.GetObjectValue(global::Microsoft.Graph.Models.TimeCardEvent.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("breaks", Breaks); + writer.WriteObjectValue("clockInEvent", ClockInEvent); + writer.WriteObjectValue("clockOutEvent", ClockOutEvent); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TimeCardEvent.cs b/src/Microsoft.Graph/Generated/Models/TimeCardEvent.cs new file mode 100644 index 00000000000..6ce1364845d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeCardEvent.cs @@ -0,0 +1,115 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeCardEvent : 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 time the entry is recorded. + public DateTimeOffset? DateTime + { + get { return BackingStore?.Get("dateTime"); } + set { BackingStore?.Set("dateTime", value); } + } + /// Indicates whether this action happens at an approved location. + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// Notes about the timeCardEvent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", 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 TimeCardEvent() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.TimeCardEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeCardEvent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "dateTime", n => { DateTime = n.GetDateTimeOffsetValue(); } }, + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("dateTime", DateTime); + writer.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TimeCardState.cs b/src/Microsoft.Graph/Generated/Models/TimeCardState.cs new file mode 100644 index 00000000000..3136b19a627 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeCardState.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum TimeCardState + #pragma warning restore CS1591 + { + [EnumMember(Value = "clockedIn")] + #pragma warning disable CS1591 + ClockedIn, + #pragma warning restore CS1591 + [EnumMember(Value = "onBreak")] + #pragma warning disable CS1591 + OnBreak, + #pragma warning restore CS1591 + [EnumMember(Value = "clockedOut")] + #pragma warning disable CS1591 + ClockedOut, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/TimeClockSettings.cs b/src/Microsoft.Graph/Generated/Models/TimeClockSettings.cs new file mode 100644 index 00000000000..fb756cec9e9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TimeClockSettings.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimeClockSettings : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The approved location of the timeClock. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.GeoCoordinates? ApprovedLocation + { + get { return BackingStore?.Get("approvedLocation"); } + set { BackingStore?.Set("approvedLocation", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.GeoCoordinates ApprovedLocation + { + get { return BackingStore?.Get("approvedLocation"); } + set { BackingStore?.Set("approvedLocation", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TimeClockSettings() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Models.TimeClockSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TimeClockSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "approvedLocation", n => { ApprovedLocation = n.GetObjectValue(global::Microsoft.Graph.Models.GeoCoordinates.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("approvedLocation", ApprovedLocation); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TimeOffReason.cs b/src/Microsoft.Graph/Generated/Models/TimeOffReason.cs index 6855d15eaee..2898825869c 100644 --- a/src/Microsoft.Graph/Generated/Models/TimeOffReason.cs +++ b/src/Microsoft.Graph/Generated/Models/TimeOffReason.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class TimeOffReason : global::Microsoft.Graph.Models.ChangeTrackedEntity, IParsable #pragma warning restore CS1591 { + /// The code of the timeOffReason to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#nullable restore +#else + public string Code + { + get { return BackingStore?.Get("code"); } + set { BackingStore?.Set("code", value); } + } +#endif /// The name of the timeOffReason. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -65,6 +81,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "code", n => { Code = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "iconType", n => { IconType = n.GetEnumValue(); } }, { "isActive", n => { IsActive = n.GetBoolValue(); } }, @@ -78,6 +95,7 @@ public override void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteStringValue("code", Code); writer.WriteStringValue("displayName", DisplayName); writer.WriteEnumValue("iconType", IconType); writer.WriteBoolValue("isActive", IsActive); diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index a744b7068db..73a35af5d62 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -1275,7 +1275,7 @@ public string OnPremisesUserPrincipalName set { BackingStore?.Set("onPremisesUserPrincipalName", value); } } #endif - /// A list of other email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). + /// A list of other email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. Can store up to 250 values, each with a limit of 250 characters. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? OtherMails diff --git a/src/Microsoft.Graph/Generated/Models/UserTeamwork.cs b/src/Microsoft.Graph/Generated/Models/UserTeamwork.cs index d800dfc9ab8..e1dbdabb457 100644 --- a/src/Microsoft.Graph/Generated/Models/UserTeamwork.cs +++ b/src/Microsoft.Graph/Generated/Models/UserTeamwork.cs @@ -44,7 +44,7 @@ public partial class UserTeamwork : global::Microsoft.Graph.Models.Entity, IPars set { BackingStore?.Set("installedApps", value); } } #endif - /// Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user’s locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2. + /// Represents the location that a user selected in Microsoft Teams and doesn't follow the Office's locale setting. A user's locale is represented by their preferred language and country or region. For example, en-us. The language component follows two-letter codes as defined in ISO 639-1, and the country component follows two-letter codes as defined in ISO 3166-1 alpha-2. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Locale diff --git a/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs b/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs index bacc8a665b4..65d4e208915 100644 --- a/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs +++ b/src/Microsoft.Graph/Generated/Models/WorkbookWorksheetProtectionOptions.cs @@ -19,67 +19,67 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// Represents the worksheet protection option of allowing using auto filter feature. + /// Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. public bool? AllowAutoFilter { get { return BackingStore?.Get("allowAutoFilter"); } set { BackingStore?.Set("allowAutoFilter", value); } } - /// Represents the worksheet protection option of allowing deleting columns. + /// Indicates whether the worksheet protection option to allow deleting columns is enabled. public bool? AllowDeleteColumns { get { return BackingStore?.Get("allowDeleteColumns"); } set { BackingStore?.Set("allowDeleteColumns", value); } } - /// Represents the worksheet protection option of allowing deleting rows. + /// Indicates whether the worksheet protection option to allow deleting rows is enabled. public bool? AllowDeleteRows { get { return BackingStore?.Get("allowDeleteRows"); } set { BackingStore?.Set("allowDeleteRows", value); } } - /// Represents the worksheet protection option of allowing formatting cells. + /// Indicates whether the worksheet protection option to allow formatting cells is enabled. public bool? AllowFormatCells { get { return BackingStore?.Get("allowFormatCells"); } set { BackingStore?.Set("allowFormatCells", value); } } - /// Represents the worksheet protection option of allowing formatting columns. + /// Indicates whether the worksheet protection option to allow formatting columns is enabled. public bool? AllowFormatColumns { get { return BackingStore?.Get("allowFormatColumns"); } set { BackingStore?.Set("allowFormatColumns", value); } } - /// Represents the worksheet protection option of allowing formatting rows. + /// Indicates whether the worksheet protection option to allow formatting rows is enabled. public bool? AllowFormatRows { get { return BackingStore?.Get("allowFormatRows"); } set { BackingStore?.Set("allowFormatRows", value); } } - /// Represents the worksheet protection option of allowing inserting columns. + /// Indicates whether the worksheet protection option to allow inserting columns is enabled. public bool? AllowInsertColumns { get { return BackingStore?.Get("allowInsertColumns"); } set { BackingStore?.Set("allowInsertColumns", value); } } - /// Represents the worksheet protection option of allowing inserting hyperlinks. + /// Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. public bool? AllowInsertHyperlinks { get { return BackingStore?.Get("allowInsertHyperlinks"); } set { BackingStore?.Set("allowInsertHyperlinks", value); } } - /// Represents the worksheet protection option of allowing inserting rows. + /// Indicates whether the worksheet protection option to allow inserting rows is enabled. public bool? AllowInsertRows { get { return BackingStore?.Get("allowInsertRows"); } set { BackingStore?.Set("allowInsertRows", value); } } - /// Represents the worksheet protection option of allowing using pivot table feature. + /// Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. public bool? AllowPivotTables { get { return BackingStore?.Get("allowPivotTables"); } set { BackingStore?.Set("allowPivotTables", value); } } - /// Represents the worksheet protection option of allowing using sort feature. + /// Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. public bool? AllowSort { get { return BackingStore?.Get("allowSort"); } diff --git a/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs b/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs index f92f81ed895..0f181db1c55 100644 --- a/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs +++ b/src/Microsoft.Graph/Generated/Models/WorkforceIntegration.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class WorkforceIntegration : global::Microsoft.Graph.Models.ChangeTrackedEntity, IParsable #pragma warning restore CS1591 { - /// API version for the call back URL. Start with 1. + /// API version for the callback URL. Start with 1. public int? ApiVersion { get { return BackingStore?.Get("apiVersion"); } @@ -62,7 +62,7 @@ public bool? IsActive get { return BackingStore?.Get("isActive"); } set { BackingStore?.Set("isActive", value); } } - /// The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeOffReason, timeOff, timeOffRequest. + /// The Shifts entities supported for synchronous change notifications. Shifts call back to the provided URL when client changes occur to the entities specified in this property. By default, no entities are supported for change notifications. Possible values are: none, shift, swapRequest, userShiftPreferences, openShift, openShiftRequest, offerShiftRequest, unknownFutureValue, timeCard, timeOffReason, timeOff, timeOffRequest. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: timeCard , timeOffReason , timeOff , timeOffRequest. public global::Microsoft.Graph.Models.WorkforceIntegrationSupportedEntities? SupportedEntities { get { return BackingStore?.Get("supportedEntities"); } diff --git a/src/Microsoft.Graph/Generated/Models/WorkforceIntegrationSupportedEntities.cs b/src/Microsoft.Graph/Generated/Models/WorkforceIntegrationSupportedEntities.cs index 604c5f6d38b..ca764888895 100644 --- a/src/Microsoft.Graph/Generated/Models/WorkforceIntegrationSupportedEntities.cs +++ b/src/Microsoft.Graph/Generated/Models/WorkforceIntegrationSupportedEntities.cs @@ -41,17 +41,21 @@ public enum WorkforceIntegrationSupportedEntities #pragma warning disable CS1591 UnknownFutureValue = 128, #pragma warning restore CS1591 + [EnumMember(Value = "timeCard")] + #pragma warning disable CS1591 + TimeCard = 256, + #pragma warning restore CS1591 [EnumMember(Value = "timeOffReason")] #pragma warning disable CS1591 - TimeOffReason = 256, + TimeOffReason = 512, #pragma warning restore CS1591 [EnumMember(Value = "timeOff")] #pragma warning disable CS1591 - TimeOff = 512, + TimeOff = 1024, #pragma warning restore CS1591 [EnumMember(Value = "timeOffRequest")] #pragma warning disable CS1591 - TimeOffRequest = 1024, + TimeOffRequest = 2048, #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 550c23d5949..91b5f856833 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Organization.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Organization.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index c6bc54379a7..98eab79621d 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Organization.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Organization.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs index 763d7af93bf..181da8e8a7d 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs @@ -111,8 +111,8 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the organization object. - /// Find more info here + /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -135,8 +135,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a organization object. - /// Find more info here + /// Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. + /// Find more info here /// /// A /// The request body @@ -180,7 +180,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the organization object. + /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -199,7 +199,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a organization object. + /// Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. /// /// A /// The request body @@ -238,7 +238,7 @@ public partial class OrganizationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Read properties and relationships of the organization object. + /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OrganizationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs index cc8a37c53f4..f902904958c 100644 --- a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs @@ -78,8 +78,8 @@ public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve a list of organization objects. There's only one organization object in the collection. - /// Find more info here + /// List properties and relationships of the organization objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -127,7 +127,7 @@ public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of organization objects. There's only one organization object in the collection. + /// List properties and relationships of the organization objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -177,7 +177,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Organization.OrganizationRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of organization objects. There's only one organization object in the collection. + /// List properties and relationships of the organization objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OrganizationRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 6f60c9357bb..2d4ce841683 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PermissionGrants.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PermissionGrants.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 00220671d29..3f2cbaebc93 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PermissionGrants.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PermissionGrants.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.cs index e5164e19451..c0d3cc07cf5 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.cs @@ -54,7 +54,8 @@ public ChildTagsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Returns the tags that are a child of a tag. + /// List eDiscovery review tags with the tag hierarchy shown. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +78,7 @@ public ChildTagsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.EdiscoveryReviewTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Returns the tags that are a child of a tag. + /// List eDiscovery review tags with the tag hierarchy shown. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -105,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Returns the tags that are a child of a tag. + /// List eDiscovery review tags with the tag hierarchy shown. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ChildTagsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 21bbe3a838a..c545afa90ef 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 899bf64901a..09be2b6ce69 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.cs index bb85d803976..4e6da02f44b 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.cs @@ -84,7 +84,7 @@ public OwnersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public OwnersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -135,7 +135,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OwnersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs index 2334d8e8175..56798ee9b7f 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task DeleteAsync(Action - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. /// /// A /// Cancellation token to use when cancelling requests @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -200,7 +200,7 @@ public partial class RefRequestBuilderDeleteRequestConfiguration : RequestConfig { } /// - /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. + /// Directory objects that are owners of this servicePrincipal. The owners are a set of nonadmin users or servicePrincipals who are allowed to modify this object. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RefRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs index 047d4e1dbc9..48b3f1b9544 100644 --- a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs @@ -78,8 +78,8 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. - /// Find more info here + /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -130,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + /// List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SitesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index cbb270ff3ac..29a32f6c4f5 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.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// 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 + /// Update the role of a conversationMember in a team or channel. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Update the role of a conversationMember in a team or channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs index 58adb3076fd..3e00204db8a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs @@ -90,8 +90,8 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Add a conversationMember to a channel. - /// Find more info here + /// Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Find more info here /// /// A /// The request body @@ -135,7 +135,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add a conversationMember to a channel. + /// Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index fb4aaa14aec..50dcc9bd6e4 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.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..266869c8b2c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.DayNotes.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}/teams/{team%2Did}/schedule/dayNotes/$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}/teams/{team%2Did}/schedule/dayNotes/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.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/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs new file mode 100644 index 00000000000..ea0308d0431 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count; +using Microsoft.Graph.Teams.Item.Schedule.DayNotes.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.Teams.Item.Schedule.DayNotes +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// The unique identifier of dayNote + /// A + public global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("dayNote%2Did", position); + return new global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNotesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/dayNotes{?%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 DayNotesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The day notes in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to dayNotes for teams + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// A + /// Configuration 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 dayNotes for teams + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote 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.Teams.Item.Schedule.DayNotes.DayNotesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.DayNotesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilderGetQueryParameters + { + /// 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 DayNotesRequestBuilderGetRequestConfiguration : 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 DayNotesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs new file mode 100644 index 00000000000..34cf7db544e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DayNoteItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/dayNotes/{dayNote%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 DayNoteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property dayNotes for teams + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property dayNotes in teams + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property dayNotes for teams + /// + /// A + /// Configuration 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 day notes in the schedule. + /// + /// A + /// Configuration 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 dayNotes in teams + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote 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.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNoteItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilderGetQueryParameters + { + /// 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 DayNoteItemRequestBuilderGetRequestConfiguration : 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 DayNoteItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.cs index 9084c122a87..1b7355d4b7a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.Schedule.DayNotes; using Microsoft.Graph.Teams.Item.Schedule.OfferShiftRequests; using Microsoft.Graph.Teams.Item.Schedule.OpenShiftChangeRequests; using Microsoft.Graph.Teams.Item.Schedule.OpenShifts; @@ -9,6 +10,7 @@ using Microsoft.Graph.Teams.Item.Schedule.Share; using Microsoft.Graph.Teams.Item.Schedule.Shifts; using Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards; using Microsoft.Graph.Teams.Item.Schedule.TimeOffReasons; using Microsoft.Graph.Teams.Item.Schedule.TimeOffRequests; using Microsoft.Graph.Teams.Item.Schedule.TimesOff; @@ -28,6 +30,11 @@ namespace Microsoft.Graph.Teams.Item.Schedule [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ScheduleRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.DayNotesRequestBuilder DayNotes + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.DayNotes.DayNotesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Teams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder OfferShiftRequests { @@ -63,6 +70,11 @@ public partial class ScheduleRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.TimeCardsRequestBuilder TimeCards + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Teams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder TimeOffReasons { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs new file mode 100644 index 00000000000..2728e76354f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockInPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockInPostRequestBody() + { + 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.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs new file mode 100644 index 00000000000..6c7a2fb2388 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn +{ + /// + /// Provides operations to call the clockIn method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockInRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockInRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/clockIn", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ClockInRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/clockIn", rawUrl) + { + } + /// + /// Clock in to start a timeCard. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clock in to start a timeCard. + /// + /// 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.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody 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.Teams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(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 ClockInRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..79e5fc57823 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.TimeCards.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}/teams/{team%2Did}/schedule/timeCards/$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}/teams/{team%2Did}/schedule/timeCards/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.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/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs new file mode 100644 index 00000000000..26c0e54f6ed --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockOutPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockOutPostRequestBody() + { + 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.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs new file mode 100644 index 00000000000..aed160f0136 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut +{ + /// + /// Provides operations to call the clockOut method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockOutRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockOutRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ClockOutRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", rawUrl) + { + } + /// + /// Invoke action clockOut + /// + /// 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.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action clockOut + /// + /// 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.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody 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.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(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 ClockOutRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs new file mode 100644 index 00000000000..7be3c59a8b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm +{ + /// + /// Provides operations to call the confirm method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfirmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", rawUrl) + { + } + /// + /// Confirm a timeCard. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Confirm a timeCard. + /// + /// A + /// Configuration 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.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(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 ConfirmRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs new file mode 100644 index 00000000000..def757fbda7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EndBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EndBreakPostRequestBody() + { + 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.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs new file mode 100644 index 00000000000..a64db9dbecb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak +{ + /// + /// Provides operations to call the endBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EndBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EndBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EndBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", rawUrl) + { + } + /// + /// Invoke action endBreak + /// + /// 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.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action endBreak + /// + /// 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.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody 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.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(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 EndBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs new file mode 100644 index 00000000000..431f2e06aff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public StartBreakPostRequestBody() + { + 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.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs new file mode 100644 index 00000000000..6d429f3abc2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak +{ + /// + /// Provides operations to call the startBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", rawUrl) + { + } + /// + /// Invoke action startBreak + /// + /// 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.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action startBreak + /// + /// 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.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody 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.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 StartBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs new file mode 100644 index 00000000000..8e3d284dc8b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs @@ -0,0 +1,254 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockOut method. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder ClockOut + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the confirm method. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder Confirm + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the endBreak method. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the startBreak method. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder StartBreak + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 TimeCardItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%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 TimeCardItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a timeCard instance in a schedule. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property timeCards in teams + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a timeCard instance in a schedule. + /// + /// A + /// Configuration 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 time cards in the schedule. + /// + /// A + /// Configuration 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 timeCards in teams + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard 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.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilderGetQueryParameters + { + /// 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 TimeCardItemRequestBuilderGetRequestConfiguration : 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 TimeCardItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs new file mode 100644 index 00000000000..157e46bddc5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs @@ -0,0 +1,246 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count; +using Microsoft.Graph.Teams.Item.Schedule.TimeCards.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.Teams.Item.Schedule.TimeCards +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockIn method. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder ClockIn + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// The unique identifier of timeCard + /// A + public global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("timeCard%2Did", position); + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards{?%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 TimeCardsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Retrieve a list of timeCard entries in a schedule. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCardCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a timeCard instance in a schedule. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve a list of timeCard entries in a schedule. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a timeCard instance in a schedule. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard 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.Teams.Item.Schedule.TimeCards.TimeCardsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Teams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Retrieve a list of timeCard entries in a schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilderGetQueryParameters + { + /// 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 TimeCardsRequestBuilderGetRequestConfiguration : 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 TimeCardsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.cs index ac9c1fc541c..b852a6db9c9 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.cs @@ -78,7 +78,7 @@ public WorkforceIntegrationsRequestBuilder(string rawUrl, IRequestAdapter reques return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkforceIntegrationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests. + /// Create a new workforceIntegration object. /// Find more info here /// /// A @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests. + /// Create a new workforceIntegration object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/MultiTenantOrganization/MultiTenantOrganizationRequestBuilder.cs index 6d5cb2f89d3..027c421feb8 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.Models.MultiTenantOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. - /// Find more info here + /// Update the properties of a multitenant organization. + /// Find more info here /// /// A /// The request body @@ -116,7 +116,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new multitenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multitenant organization. + /// Update the properties of a multitenant organization. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index ac02391ef8f..10f749e7873 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -34,7 +34,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.CheckMemberGroups.CheckMemberGroupsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public CheckMemberGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.CheckMemberGroups.CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. + /// Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 07853fcb89b..50d48c283f5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -34,7 +34,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -60,7 +60,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.GetMemberObjects.GetMemberObjectsPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// Find more info here /// /// A @@ -87,7 +87,7 @@ public GetMemberObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.GetMemberObjects.GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. + /// Return all IDs for the groups, administrative units, and directory roles that an object of one of the following types is a member of:- user- group- service principal- organizational contact- device- directory object This function is transitive. Only users and role-enabled groups can be members of directory roles. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..7884dffe45b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.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}/joinedTeams/{team%2Did}/schedule/dayNotes/$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}/joinedTeams/{team%2Did}/schedule/dayNotes/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.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/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs new file mode 100644 index 00000000000..7d459b4bf18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/DayNotesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// The unique identifier of dayNote + /// A + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("dayNote%2Did", position); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNotesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/dayNotes{?%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 DayNotesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/dayNotes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The day notes in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to dayNotes for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// A + /// Configuration 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 dayNotes for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNotesRequestBuilderGetQueryParameters + { + /// 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 DayNotesRequestBuilderGetRequestConfiguration : 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 DayNotesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs new file mode 100644 index 00000000000..c163444cfdf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/DayNotes/Item/DayNoteItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item +{ + /// + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DayNoteItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/dayNotes/{dayNote%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 DayNoteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/dayNotes/{dayNote%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property dayNotes for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The day notes in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property dayNotes in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DayNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property dayNotes for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The day notes in the schedule. + /// + /// A + /// Configuration 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 dayNotes in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.DayNote body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder(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 DayNoteItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The day notes in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DayNoteItemRequestBuilderGetQueryParameters + { + /// 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 DayNoteItemRequestBuilderGetRequestConfiguration : 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 DayNoteItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs index 429f1d1f3b6..c981ecb740a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OfferShiftRequests; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OpenShiftChangeRequests; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OpenShifts; @@ -9,6 +10,7 @@ using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.Share; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.Shifts; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffReasons; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffRequests; using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimesOff; @@ -28,6 +30,11 @@ namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ScheduleRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder DayNotes + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the offerShiftRequests property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder OfferShiftRequests { @@ -63,6 +70,11 @@ public partial class ScheduleRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder TimeCards + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the timeOffReasons property of the microsoft.graph.schedule entity. public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder TimeOffReasons { diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs new file mode 100644 index 00000000000..67a87c8e054 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockInPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockInPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs new file mode 100644 index 00000000000..d603d3475b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/ClockIn/ClockInRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn +{ + /// + /// Provides operations to call the clockIn method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockInRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockInRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/clockIn", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ClockInRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/clockIn", rawUrl) + { + } + /// + /// Clock in to start a timeCard. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Clock in to start a timeCard. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(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 ClockInRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..575fa685c0d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.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}/joinedTeams/{team%2Did}/schedule/timeCards/$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}/joinedTeams/{team%2Did}/schedule/timeCards/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.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/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs new file mode 100644 index 00000000000..6ad5b07edc9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClockOutPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClockOutPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs new file mode 100644 index 00000000000..8c9b41ca54f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/ClockOut/ClockOutRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut +{ + /// + /// Provides operations to call the clockOut method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ClockOutRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ClockOutRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ClockOutRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/clockOut", rawUrl) + { + } + /// + /// Invoke action clockOut + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action clockOut + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(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 ClockOutRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs new file mode 100644 index 00000000000..9c4bb011411 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/Confirm/ConfirmRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm +{ + /// + /// Provides operations to call the confirm method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConfirmRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConfirmRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ConfirmRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/confirm", rawUrl) + { + } + /// + /// Confirm a timeCard. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Confirm a timeCard. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(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 ConfirmRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs new file mode 100644 index 00000000000..1be332377ff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EndBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EndBreakPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs new file mode 100644 index 00000000000..594cb95b212 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/EndBreak/EndBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak +{ + /// + /// Provides operations to call the endBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EndBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EndBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EndBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/endBreak", rawUrl) + { + } + /// + /// Invoke action endBreak + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action endBreak + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(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 EndBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs new file mode 100644 index 00000000000..fc94720c8cf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakPostRequestBody.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class StartBreakPostRequestBody : 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 isAtApprovedLocation property + public bool? IsAtApprovedLocation + { + get { return BackingStore?.Get("isAtApprovedLocation"); } + set { BackingStore?.Set("isAtApprovedLocation", value); } + } + /// The notes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public StartBreakPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isAtApprovedLocation", n => { IsAtApprovedLocation = n.GetBoolValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Models.ItemBody.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.WriteBoolValue("isAtApprovedLocation", IsAtApprovedLocation); + writer.WriteObjectValue("notes", Notes); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs new file mode 100644 index 00000000000..9f295e3f5b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/StartBreak/StartBreakRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak +{ + /// + /// Provides operations to call the startBreak method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class StartBreakRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public StartBreakRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public StartBreakRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}/startBreak", rawUrl) + { + } + /// + /// Invoke action startBreak + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action startBreak + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 StartBreakRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs new file mode 100644 index 00000000000..9a72187a937 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/Item/TimeCardItemRequestBuilder.cs @@ -0,0 +1,253 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockOut method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder ClockOut + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the confirm method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder Confirm + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the endBreak method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder EndBreak + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the startBreak method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder StartBreak + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder(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 TimeCardItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%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 TimeCardItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards/{timeCard%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property timeCards for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property timeCards in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property timeCards for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The time cards in the schedule. + /// + /// A + /// Configuration 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 timeCards in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardItemRequestBuilderGetQueryParameters + { + /// 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 TimeCardItemRequestBuilderGetRequestConfiguration : 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 TimeCardItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs new file mode 100644 index 00000000000..3dd908abab6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeCards/TimeCardsRequestBuilder.cs @@ -0,0 +1,244 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count; +using Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards +{ + /// + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the clockIn method. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder ClockIn + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the timeCards property of the microsoft.graph.schedule entity. + /// The unique identifier of timeCard + /// A + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("timeCard%2Did", position); + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder(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 TimeCardsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards{?%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 TimeCardsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/schedule/timeCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The time cards in the schedule. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCardCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to timeCards for users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.TimeCard.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The time cards in the schedule. + /// + /// A + /// Configuration 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 timeCards for users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.TimeCard body, Action> requestConfiguration = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The time cards in the schedule. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TimeCardsRequestBuilderGetQueryParameters + { + /// 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 TimeCardsRequestBuilderGetRequestConfiguration : 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 TimeCardsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index 572e2b92645..59ef55b44fe 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -481,8 +481,8 @@ public UserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. - /// Find more info here + /// Deletes a user. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -541,7 +541,7 @@ public async Task DeleteAsync(Action /// Update the properties of a user object. - /// Find more info here + /// Find more info here /// /// A /// The request body @@ -578,7 +578,7 @@ public async Task DeleteAsync(Action - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + /// Deletes a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs index cfcba19ed69..eaecd723224 100644 --- a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs @@ -103,7 +103,7 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base } /// /// Create a new user object. - /// Find more info here + /// Find more info here /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs index 5bf9c088d03..3ccadf50700 100644 --- a/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/UsersWithUserPrincipalName/UsersWithUserPrincipalNameRequestBuilder.cs @@ -37,8 +37,8 @@ public UsersWithUserPrincipalNameRequestBuilder(string rawUrl, IRequestAdapter r { } /// - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. - /// Find more info here + /// Deletes a user. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action /// Update the properties of a user object. - /// Find more info here + /// Find more info here /// /// A /// The request body @@ -110,7 +110,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + /// Deletes a user. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 1e4b9890e9e..287b146b7fd 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -2735,6 +2735,246 @@ Microsoft.Graph.ApplicationTemplates.Item.Instantiate.instantiateRequestBuilder: Microsoft.Graph.ApplicationTemplates.Item.Instantiate.instantiateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.ApplicationTemplates.Item.Instantiate.InstantiatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ApplicationServicePrincipal Microsoft.Graph.ApplicationTemplates.Item.Instantiate.instantiateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.ApplicationTemplates.Item.Instantiate.InstantiatePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.ApplicationTemplates.Item.Instantiate.instantiateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.ApplicationTemplates.Item.Instantiate.InstantiateRequestBuilder +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder.appRoleAssignmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::[AppRoleAssignmentId:string]:global.Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|Count:global.Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|delta:global.Microsoft.Graph.AppRoleAssignments.Delta.DeltaRequestBuilder +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AppRoleAssignmentCollectionResponse +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|getAvailableExtensionProperties:global.Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|getByIds:global.Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsRequestBuilder +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AppRoleAssignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AppRoleAssignment +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AppRoleAssignment; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|validateProperties:global.Microsoft.Graph.AppRoleAssignments.ValidateProperties.ValidatePropertiesRequestBuilder +Microsoft.Graph.AppRoleAssignments.appRoleAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AppRoleAssignments.AppRoleAssignmentsRequestBuilder +Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AppRoleAssignments.Count.CountRequestBuilder +Microsoft.Graph.AppRoleAssignments.Delta.deltaGetResponse-->global.Microsoft.Graph.Models.BaseDeltaFunctionResponse +Microsoft.Graph.AppRoleAssignments.Delta.deltaGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.Delta.deltaGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.Delta.deltaGetResponse::|public|Value:List +Microsoft.Graph.AppRoleAssignments.Delta.deltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Delta.DeltaGetResponse +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder.deltaRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder.deltaRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder::|public|GetAsDeltaGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.Delta.DeltaGetResponse +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.Delta.DeltaResponse +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.Delta.deltaRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AppRoleAssignments.Delta.DeltaRequestBuilder +Microsoft.Graph.AppRoleAssignments.Delta.deltaResponse-->global.Microsoft.Graph.AppRoleAssignments.Delta.DeltaGetResponse +Microsoft.Graph.AppRoleAssignments.Delta.deltaResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Delta.DeltaResponse +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostRequestBody::|public|constructor():void +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostRequestBody::|public|IsSyncedFromOnPremises:bool? +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostResponse::|public|Value:List +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesRequestBuilder.getAvailableExtensionPropertiesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesRequestBuilder::|public|PostAsGetAvailableExtensionPropertiesPostResponseAsync(body:global.Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesResponse-->global.Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesPostResponse +Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.getAvailableExtensionPropertiesResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesResponse +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostRequestBody::|public|constructor():void +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostRequestBody::|public|Ids:List +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostRequestBody::|public|Types:List +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostRequestBody +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostResponse::|public|Value:List +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostResponse +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsRequestBuilder.getByIdsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsRequestBuilder::|public|PostAsGetByIdsPostResponseAsync(body:global.Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostResponse +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsResponse +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsRequestBuilder +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsResponse-->global.Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsPostResponse +Microsoft.Graph.AppRoleAssignments.GetByIds.getByIdsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.GetByIds.GetByIdsResponse +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder.AppRoleAssignmentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|checkMemberGroups:global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|checkMemberObjects:global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AppRoleAssignment +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|getMemberGroups:global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|getMemberObjects:global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AppRoleAssignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AppRoleAssignment +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|restore:global.Microsoft.Graph.AppRoleAssignments.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AppRoleAssignment; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AppRoleAssignments.Item.AppRoleAssignmentItemRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostRequestBody::|public|constructor():void +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostRequestBody::|public|GroupIds:List +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostRequestBody +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostResponse::|public|Value:List +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostResponse +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsRequestBuilder.checkMemberGroupsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsRequestBuilder::|public|PostAsCheckMemberGroupsPostResponseAsync(body:global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostResponse +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsResponse +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsResponse-->global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsPostResponse +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.checkMemberGroupsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberGroups.CheckMemberGroupsResponse +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostRequestBody::|public|constructor():void +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostRequestBody::|public|Ids:List +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostRequestBody +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostResponse::|public|Value:List +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostResponse +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsRequestBuilder.checkMemberObjectsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsRequestBuilder::|public|PostAsCheckMemberObjectsPostResponseAsync(body:global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostResponse +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsResponse +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsResponse-->global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsPostResponse +Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.checkMemberObjectsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Item.CheckMemberObjects.CheckMemberObjectsResponse +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostRequestBody::|public|constructor():void +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostRequestBody::|public|SecurityEnabledOnly:bool? +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostRequestBody +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostResponse::|public|Value:List +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostResponse +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsRequestBuilder.getMemberGroupsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsRequestBuilder::|public|PostAsGetMemberGroupsPostResponseAsync(body:global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostResponse +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsResponse +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsResponse-->global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsPostResponse +Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.getMemberGroupsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberGroups.GetMemberGroupsResponse +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostRequestBody::|public|constructor():void +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostRequestBody::|public|SecurityEnabledOnly:bool? +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostRequestBody +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostResponse::|public|Value:List +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostResponse +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsRequestBuilder.getMemberObjectsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsRequestBuilder::|public|PostAsGetMemberObjectsPostResponseAsync(body:global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostResponse +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsResponse +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsResponse-->global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsPostResponse +Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.getMemberObjectsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.Item.GetMemberObjects.GetMemberObjectsResponse +Microsoft.Graph.AppRoleAssignments.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AppRoleAssignments.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.AppRoleAssignments.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AppRoleAssignments.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesPostRequestBody::|public|constructor():void +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesPostRequestBody::|public|DisplayName:string +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesPostRequestBody::|public|EntityType:string +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesPostRequestBody::|public|MailNickname:string +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesPostRequestBody::|public|OnBehalfOfUserId:Guid? +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.AppRoleAssignments.ValidateProperties.ValidatePropertiesPostRequestBody +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesRequestBuilder.validatePropertiesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.AppRoleAssignments.ValidateProperties.ValidatePropertiesPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.AppRoleAssignments.ValidateProperties.ValidatePropertiesPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.AppRoleAssignments.ValidateProperties.validatePropertiesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.AppRoleAssignments.ValidateProperties.ValidatePropertiesRequestBuilder Microsoft.Graph.AuditLogs.auditLogsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.AuditLogs.auditLogsRequestBuilder.auditLogsRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.AuditLogs.auditLogsRequestBuilder.auditLogsRequestBuilderGetQueryParameters::|public|Select:string[] @@ -2992,6 +3232,7 @@ Microsoft.Graph.BaseGraphServiceClient::|public|applications:global.Microsoft.Gr Microsoft.Graph.BaseGraphServiceClient::|public|applicationsWithAppId(appId:string):global.Microsoft.Graph.ApplicationsWithAppId.ApplicationsWithAppIdRequestBuilder Microsoft.Graph.BaseGraphServiceClient::|public|applicationsWithUniqueName(uniqueName:string):global.Microsoft.Graph.ApplicationsWithUniqueName.ApplicationsWithUniqueNameRequestBuilder Microsoft.Graph.BaseGraphServiceClient::|public|applicationTemplates:global.Microsoft.Graph.ApplicationTemplates.ApplicationTemplatesRequestBuilder +Microsoft.Graph.BaseGraphServiceClient::|public|appRoleAssignments:global.Microsoft.Graph.AppRoleAssignments.AppRoleAssignmentsRequestBuilder Microsoft.Graph.BaseGraphServiceClient::|public|auditLogs:global.Microsoft.Graph.AuditLogs.AuditLogsRequestBuilder Microsoft.Graph.BaseGraphServiceClient::|public|authenticationMethodConfigurations:global.Microsoft.Graph.AuthenticationMethodConfigurations.AuthenticationMethodConfigurationsRequestBuilder Microsoft.Graph.BaseGraphServiceClient::|public|authenticationMethodsPolicy:global.Microsoft.Graph.AuthenticationMethodsPolicy.AuthenticationMethodsPolicyRequestBuilder @@ -62208,6 +62449,50 @@ Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Unarchive.unarchiveRequestBuilde Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.PrimaryChannel.Unarchive.UnarchiveRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::[DayNoteId:string]:global.Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|Count:global.Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNoteCollectionResponse +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.dayNotesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.DayNotesRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.Item.DayNoteItemRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.OfferShiftRequests.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Groups.Item.Team.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -62348,6 +62633,7 @@ Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder.scheduleRequest Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder.scheduleRequestBuilderPutRequestConfiguration-->RequestConfiguration Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|dayNotes:global.Microsoft.Graph.Groups.Item.Team.Schedule.DayNotes.DayNotesRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Schedule Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|offerShiftRequests:global.Microsoft.Graph.Groups.Item.Team.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder @@ -62358,6 +62644,7 @@ Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|schedu Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|share:global.Microsoft.Graph.Groups.Item.Team.Schedule.Share.ShareRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|shifts:global.Microsoft.Graph.Groups.Item.Team.Schedule.Shifts.ShiftsRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|swapShiftsChangeRequests:global.Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|timeCards:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|timeOffReasons:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|timeOffRequests:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.scheduleRequestBuilder::|public|timesOff:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimesOff.TimesOffRequestBuilder @@ -62514,6 +62801,126 @@ Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.swapShiftsCha Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SwapShiftsChangeRequest; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder.clockInRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder.clockOutRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder.confirmRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder.endBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder.startBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|endBreak:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|startBreak:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::[TimeCardId:string]:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|clockIn:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|Count:global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCardCollectionResponse +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.timeCardsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Team.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffReasons.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Groups.Item.Team.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -86665,6 +87072,50 @@ Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBui Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.PrimaryChannel.Unarchive.UnarchiveRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::[DayNoteId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNoteCollectionResponse +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -86805,6 +87256,7 @@ Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder.scheduleRequ Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilderPutRequestConfiguration-->RequestConfiguration Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|dayNotes:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Schedule Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|offerShiftRequests:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder @@ -86815,6 +87267,7 @@ Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|sch Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|share:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Share.ShareRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|shifts:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.Shifts.ShiftsRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|swapShiftsChangeRequests:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeCards:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeOffReasons:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeOffRequests:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timesOff:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimesOff.TimesOffRequestBuilder @@ -86971,6 +87424,126 @@ Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShifts Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SwapShiftsChangeRequest; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder.clockInRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder.clockOutRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder.confirmRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder.endBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder.startBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|endBreak:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|startBreak:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::[TimeCardId:string]:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|clockIn:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCardCollectionResponse +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -95080,6 +95653,9 @@ Microsoft.Graph.Models.allLicensedUsersAssignmentTarget::|public|GetFieldDeseria Microsoft.Graph.Models.allLicensedUsersAssignmentTarget::|public|OdataType:string Microsoft.Graph.Models.allLicensedUsersAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.allLicensedUsersAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AllLicensedUsersAssignmentTarget +Microsoft.Graph.Models.allowedLobbyAdmitterRoles::0000-organizerAndCoOrganizersAndPresenters +Microsoft.Graph.Models.allowedLobbyAdmitterRoles::0001-organizerAndCoOrganizers +Microsoft.Graph.Models.allowedLobbyAdmitterRoles::0002-unknownFutureValue Microsoft.Graph.Models.allowedTargetScope::0000-notSpecified Microsoft.Graph.Models.allowedTargetScope::0001-specificDirectoryUsers Microsoft.Graph.Models.allowedTargetScope::0002-specificConnectedOrganizationUsers @@ -98570,6 +99146,7 @@ Microsoft.Graph.Models.certificationControl::|static|public|CreateFromDiscrimina Microsoft.Graph.Models.certificationControl~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.certification~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.changeTrackedEntity-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.changeTrackedEntity::|public|CreatedBy:global.Microsoft.Graph.Models.IdentitySet Microsoft.Graph.Models.changeTrackedEntity::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Models.changeTrackedEntity::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.changeTrackedEntity::|public|LastModifiedBy:global.Microsoft.Graph.Models.IdentitySet @@ -99374,6 +99951,7 @@ Microsoft.Graph.Models.cloudPcOnPremisesConnectionType::0002-unknownFutureValue Microsoft.Graph.Models.cloudPcProvisioningPolicy-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|AlternateResourceUrl:string Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|Assignments:List +Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|Autopatch:global.Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|CloudPcGroupDisplayName:string Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|CloudPcNamingTemplate:string Microsoft.Graph.Models.cloudPcProvisioningPolicy::|public|Description:string @@ -99404,6 +99982,15 @@ Microsoft.Graph.Models.cloudPcProvisioningPolicyAssignmentCollectionResponse::|p Microsoft.Graph.Models.cloudPcProvisioningPolicyAssignmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.cloudPcProvisioningPolicyAssignmentCollectionResponse::|public|Value:List Microsoft.Graph.Models.cloudPcProvisioningPolicyAssignmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CloudPcProvisioningPolicyAssignmentCollectionResponse +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|AutopatchGroupId:string +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|constructor():void +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|OdataType:string +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CloudPcProvisioningPolicyAutopatch +Microsoft.Graph.Models.cloudPcProvisioningPolicyAutopatch~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.cloudPcProvisioningPolicyCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Models.cloudPcProvisioningPolicyCollectionResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.cloudPcProvisioningPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void @@ -100093,6 +100680,10 @@ Microsoft.Graph.Models.configurationManagerCollectionAssignmentTarget::|public|G Microsoft.Graph.Models.configurationManagerCollectionAssignmentTarget::|public|OdataType:string Microsoft.Graph.Models.configurationManagerCollectionAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.configurationManagerCollectionAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConfigurationManagerCollectionAssignmentTarget +Microsoft.Graph.Models.confirmedBy::0000-none +Microsoft.Graph.Models.confirmedBy::0001-user +Microsoft.Graph.Models.confirmedBy::0002-manager +Microsoft.Graph.Models.confirmedBy::0003-unknownFutureValue Microsoft.Graph.Models.connectedOrganization-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.connectedOrganization::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Models.connectedOrganization::|public|Description:string @@ -100806,6 +101397,20 @@ Microsoft.Graph.Models.daylightTimeZoneOffset::|public|GetFieldDeserializers():I Microsoft.Graph.Models.daylightTimeZoneOffset::|public|OdataType:string Microsoft.Graph.Models.daylightTimeZoneOffset::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.daylightTimeZoneOffset::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DaylightTimeZoneOffset +Microsoft.Graph.Models.dayNote-->global.Microsoft.Graph.Models.ChangeTrackedEntity +Microsoft.Graph.Models.dayNote::|public|constructor():void +Microsoft.Graph.Models.dayNote::|public|DayNoteDate:Date? +Microsoft.Graph.Models.dayNote::|public|DraftDayNote:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Models.dayNote::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.dayNote::|public|OdataType:string +Microsoft.Graph.Models.dayNote::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.dayNote::|public|SharedDayNote:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Models.dayNote::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Models.dayNoteCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.dayNoteCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.dayNoteCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.dayNoteCollectionResponse::|public|Value:List +Microsoft.Graph.Models.dayNoteCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.DayNoteCollectionResponse Microsoft.Graph.Models.dayOfWeekObject::0000-sunday Microsoft.Graph.Models.dayOfWeekObject::0001-monday Microsoft.Graph.Models.dayOfWeekObject::0002-tuesday @@ -107794,6 +108399,7 @@ Microsoft.Graph.Models.managedDeviceOverview::|static|public|CreateFromDiscrimin Microsoft.Graph.Models.managedDeviceOwnerType::0000-unknown Microsoft.Graph.Models.managedDeviceOwnerType::0001-company Microsoft.Graph.Models.managedDeviceOwnerType::0002-personal +Microsoft.Graph.Models.managedDeviceOwnerType::0003-unknownFutureValue Microsoft.Graph.Models.managedDevicePartnerReportedHealthState::0000-unknown Microsoft.Graph.Models.managedDevicePartnerReportedHealthState::0001-activated Microsoft.Graph.Models.managedDevicePartnerReportedHealthState::0002-deactivated @@ -108112,6 +108718,9 @@ Microsoft.Graph.Models.meetingInfo::|public|OdataType:string Microsoft.Graph.Models.meetingInfo::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.meetingInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.MeetingInfo Microsoft.Graph.Models.meetingInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.meetingLiveShareOptions::0000-enabled +Microsoft.Graph.Models.meetingLiveShareOptions::0001-disabled +Microsoft.Graph.Models.meetingLiveShareOptions::0002-unknownFutureValue Microsoft.Graph.Models.meetingMessageType::0000-none Microsoft.Graph.Models.meetingMessageType::0001-meetingRequest Microsoft.Graph.Models.meetingMessageType::0002-meetingCancelled @@ -109512,12 +110121,17 @@ Microsoft.Graph.Models.onlineMeeting::|static|public|CreateFromDiscriminatorValu Microsoft.Graph.Models.onlineMeetingBase-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.onlineMeetingBase::|public|AllowAttendeeToEnableCamera:bool? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowAttendeeToEnableMic:bool? +Microsoft.Graph.Models.onlineMeetingBase::|public|AllowBreakoutRooms:bool? +Microsoft.Graph.Models.onlineMeetingBase::|public|AllowedLobbyAdmitters:global.Microsoft.Graph.Models.AllowedLobbyAdmitterRoles? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowedPresenters:global.Microsoft.Graph.Models.OnlineMeetingPresenters? +Microsoft.Graph.Models.onlineMeetingBase::|public|AllowLiveShare:global.Microsoft.Graph.Models.MeetingLiveShareOptions? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowMeetingChat:global.Microsoft.Graph.Models.MeetingChatMode? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowParticipantsToChangeName:bool? +Microsoft.Graph.Models.onlineMeetingBase::|public|AllowPowerPointSharing:bool? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowRecording:bool? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowTeamworkReactions:bool? Microsoft.Graph.Models.onlineMeetingBase::|public|AllowTranscription:bool? +Microsoft.Graph.Models.onlineMeetingBase::|public|AllowWhiteboard:bool? Microsoft.Graph.Models.onlineMeetingBase::|public|AttendanceReports:List Microsoft.Graph.Models.onlineMeetingBase::|public|AudioConferencing:global.Microsoft.Graph.Models.AudioConferencing Microsoft.Graph.Models.onlineMeetingBase::|public|ChatInfo:global.Microsoft.Graph.Models.ChatInfo @@ -114267,8 +114881,10 @@ Microsoft.Graph.Models.samlSingleSignOnSettings::|public|Serialize(writer:ISeria Microsoft.Graph.Models.samlSingleSignOnSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SamlSingleSignOnSettings Microsoft.Graph.Models.samlSingleSignOnSettings~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.schedule-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.schedule::|public|DayNotes:List Microsoft.Graph.Models.schedule::|public|Enabled:bool? Microsoft.Graph.Models.schedule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.schedule::|public|IsActivitiesIncludedWhenCopyingShiftsEnabled:bool? Microsoft.Graph.Models.schedule::|public|OdataType:string Microsoft.Graph.Models.schedule::|public|OfferShiftRequests:List Microsoft.Graph.Models.schedule::|public|OfferShiftRequestsEnabled:bool? @@ -114280,9 +114896,12 @@ Microsoft.Graph.Models.schedule::|public|ProvisionStatusCode:string Microsoft.Graph.Models.schedule::|public|SchedulingGroups:List Microsoft.Graph.Models.schedule::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.schedule::|public|Shifts:List +Microsoft.Graph.Models.schedule::|public|StartDayOfWeek:global.Microsoft.Graph.Models.DayOfWeekObject? Microsoft.Graph.Models.schedule::|public|SwapShiftsChangeRequests:List Microsoft.Graph.Models.schedule::|public|SwapShiftsRequestsEnabled:bool? +Microsoft.Graph.Models.schedule::|public|TimeCards:List Microsoft.Graph.Models.schedule::|public|TimeClockEnabled:bool? +Microsoft.Graph.Models.schedule::|public|TimeClockSettings:global.Microsoft.Graph.Models.TimeClockSettings Microsoft.Graph.Models.schedule::|public|TimeOffReasons:List Microsoft.Graph.Models.schedule::|public|TimeOffRequests:List Microsoft.Graph.Models.schedule::|public|TimeOffRequestsEnabled:bool? @@ -114375,6 +114994,7 @@ Microsoft.Graph.Models.scheduleRequestActions::0007-selfExtend Microsoft.Graph.Models.scheduleRequestActions::0008-selfRenew Microsoft.Graph.Models.scheduleRequestActions::0009-unknownFutureValue Microsoft.Graph.Models.schedulingGroup-->global.Microsoft.Graph.Models.ChangeTrackedEntity +Microsoft.Graph.Models.schedulingGroup::|public|Code:string Microsoft.Graph.Models.schedulingGroup::|public|constructor():void Microsoft.Graph.Models.schedulingGroup::|public|DisplayName:string Microsoft.Graph.Models.schedulingGroup::|public|GetFieldDeserializers():IDictionary> @@ -120308,6 +120928,72 @@ Microsoft.Graph.Models.ticketInfo::|public|TicketNumber:string Microsoft.Graph.Models.ticketInfo::|public|TicketSystem:string Microsoft.Graph.Models.ticketInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TicketInfo Microsoft.Graph.Models.ticketInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.timeCard-->global.Microsoft.Graph.Models.ChangeTrackedEntity +Microsoft.Graph.Models.timeCard::|public|Breaks:List +Microsoft.Graph.Models.timeCard::|public|ClockInEvent:global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCard::|public|ClockOutEvent:global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCard::|public|ConfirmedBy:global.Microsoft.Graph.Models.ConfirmedBy? +Microsoft.Graph.Models.timeCard::|public|constructor():void +Microsoft.Graph.Models.timeCard::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeCard::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Models.timeCard::|public|OdataType:string +Microsoft.Graph.Models.timeCard::|public|OriginalEntry:global.Microsoft.Graph.Models.TimeCardEntry +Microsoft.Graph.Models.timeCard::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeCard::|public|State:global.Microsoft.Graph.Models.TimeCardState? +Microsoft.Graph.Models.timeCard::|public|UserId:string +Microsoft.Graph.Models.timeCard::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Models.timeCardBreak::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.timeCardBreak::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.timeCardBreak::|public|BreakId:string +Microsoft.Graph.Models.timeCardBreak::|public|constructor():void +Microsoft.Graph.Models.timeCardBreak::|public|End:global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCardBreak::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeCardBreak::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Models.timeCardBreak::|public|OdataType:string +Microsoft.Graph.Models.timeCardBreak::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeCardBreak::|public|Start:global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCardBreak::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeCardBreak +Microsoft.Graph.Models.timeCardBreak~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.timeCardCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.timeCardCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeCardCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeCardCollectionResponse::|public|Value:List +Microsoft.Graph.Models.timeCardCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeCardCollectionResponse +Microsoft.Graph.Models.timeCardEntry::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.timeCardEntry::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.timeCardEntry::|public|Breaks:List +Microsoft.Graph.Models.timeCardEntry::|public|ClockInEvent:global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCardEntry::|public|ClockOutEvent:global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCardEntry::|public|constructor():void +Microsoft.Graph.Models.timeCardEntry::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeCardEntry::|public|OdataType:string +Microsoft.Graph.Models.timeCardEntry::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeCardEntry::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeCardEntry +Microsoft.Graph.Models.timeCardEntry~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.timeCardEvent::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.timeCardEvent::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.timeCardEvent::|public|constructor():void +Microsoft.Graph.Models.timeCardEvent::|public|DateTime:DateTimeOffset? +Microsoft.Graph.Models.timeCardEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeCardEvent::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Models.timeCardEvent::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Models.timeCardEvent::|public|OdataType:string +Microsoft.Graph.Models.timeCardEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeCardEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeCardEvent +Microsoft.Graph.Models.timeCardEvent~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.timeCardState::0000-clockedIn +Microsoft.Graph.Models.timeCardState::0001-onBreak +Microsoft.Graph.Models.timeCardState::0002-clockedOut +Microsoft.Graph.Models.timeCardState::0003-unknownFutureValue +Microsoft.Graph.Models.timeClockSettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.timeClockSettings::|public|ApprovedLocation:global.Microsoft.Graph.Models.GeoCoordinates +Microsoft.Graph.Models.timeClockSettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.timeClockSettings::|public|constructor():void +Microsoft.Graph.Models.timeClockSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.timeClockSettings::|public|OdataType:string +Microsoft.Graph.Models.timeClockSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.timeClockSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeClockSettings +Microsoft.Graph.Models.timeClockSettings~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.timeConstraint::|public|ActivityDomain:global.Microsoft.Graph.Models.ActivityDomain? Microsoft.Graph.Models.timeConstraint::|public|AdditionalData:IDictionary Microsoft.Graph.Models.timeConstraint::|public|BackingStore:IBackingStore @@ -120340,6 +121026,7 @@ Microsoft.Graph.Models.timeOffItem::|public|Serialize(writer:ISerializationWrite Microsoft.Graph.Models.timeOffItem::|public|TimeOffReasonId:string Microsoft.Graph.Models.timeOffItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TimeOffItem Microsoft.Graph.Models.timeOffReason-->global.Microsoft.Graph.Models.ChangeTrackedEntity +Microsoft.Graph.Models.timeOffReason::|public|Code:string Microsoft.Graph.Models.timeOffReason::|public|constructor():void Microsoft.Graph.Models.timeOffReason::|public|DisplayName:string Microsoft.Graph.Models.timeOffReason::|public|GetFieldDeserializers():IDictionary> @@ -124808,9 +125495,10 @@ Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0004-openShift Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0005-openShiftRequest Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0006-offerShiftRequest Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0007-unknownFutureValue -Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0008-timeOffReason -Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0009-timeOff -Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0010-timeOffRequest +Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0008-timeCard +Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0009-timeOffReason +Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0010-timeOff +Microsoft.Graph.Models.workforceIntegrationSupportedEntities::0011-timeOffRequest Microsoft.Graph.Models.workingHours::|public|AdditionalData:IDictionary Microsoft.Graph.Models.workingHours::|public|BackingStore:IBackingStore Microsoft.Graph.Models.workingHours::|public|constructor():void @@ -155851,6 +156539,50 @@ Microsoft.Graph.Teams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|pu Microsoft.Graph.Teams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Teams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.PrimaryChannel.Unarchive.UnarchiveRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::[DayNoteId:string]:global.Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|Count:global.Microsoft.Graph.Teams.Item.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNoteCollectionResponse +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.DayNotes.DayNotesRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder Microsoft.Graph.Teams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Teams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -155991,6 +156723,7 @@ Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilde Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilderPutRequestConfiguration-->RequestConfiguration Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|dayNotes:global.Microsoft.Graph.Teams.Item.Schedule.DayNotes.DayNotesRequestBuilder Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Schedule Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|offerShiftRequests:global.Microsoft.Graph.Teams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder @@ -156001,6 +156734,7 @@ Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|schedulingGr Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|share:global.Microsoft.Graph.Teams.Item.Schedule.Share.ShareRequestBuilder Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|shifts:global.Microsoft.Graph.Teams.Item.Schedule.Shifts.ShiftsRequestBuilder Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|swapShiftsChangeRequests:global.Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|timeCards:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|timeOffReasons:global.Microsoft.Graph.Teams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|timeOffRequests:global.Microsoft.Graph.Teams.Item.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder Microsoft.Graph.Teams.Item.Schedule.scheduleRequestBuilder::|public|timesOff:global.Microsoft.Graph.Teams.Item.Schedule.TimesOff.TimesOffRequestBuilder @@ -156157,6 +156891,126 @@ Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeReq Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SwapShiftsChangeRequest; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder.clockInRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder.clockOutRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder.confirmRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder.endBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder.startBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|endBreak:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|startBreak:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::[TimeCardId:string]:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|clockIn:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|Count:global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCardCollectionResponse +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Teams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Teams.Item.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Teams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Teams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Teams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -168113,6 +168967,50 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRe Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Unarchive.unarchiveRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.PrimaryChannel.Unarchive.UnarchiveRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder.dayNotesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::[DayNoteId:string]:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNoteCollectionResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.dayNotesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder.DayNoteItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DayNote +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DayNote; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.Item.DayNoteItemRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OfferShiftRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -168253,6 +169151,7 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder.sche Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder.scheduleRequestBuilderPutRequestConfiguration-->RequestConfiguration Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|dayNotes:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.DayNotes.DayNotesRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Schedule Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|offerShiftRequests:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.OfferShiftRequests.OfferShiftRequestsRequestBuilder @@ -168263,6 +169162,7 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|pu Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|share:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.Share.ShareRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|shifts:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.Shifts.ShiftsRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|swapShiftsChangeRequests:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeCards:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeOffReasons:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffReasons.TimeOffReasonsRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timeOffRequests:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffRequests.TimeOffRequestsRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.scheduleRequestBuilder::|public|timesOff:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimesOff.TimesOffRequestBuilder @@ -168419,6 +169319,126 @@ Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.sw Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SwapShiftsChangeRequest; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.swapShiftsChangeRequestsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.SwapShiftsChangeRequests.SwapShiftsChangeRequestsRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder.clockInRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.clockInRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder.clockOutRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.clockOutRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder.confirmRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.confirmRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder.endBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.endBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|constructor():void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|IsAtApprovedLocation:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Notes:global.Microsoft.Graph.Models.ItemBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder.startBreakRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.startBreakRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder.TimeCardItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|clockOut:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.ClockOut.ClockOutRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|confirm:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.Confirm.ConfirmRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|endBreak:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.EndBreak.EndBreakRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|startBreak:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.StartBreak.StartBreakRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder.timeCardsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::[TimeCardId:string]:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Item.TimeCardItemRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|clockIn:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.ClockIn.ClockInRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCardCollectionResponse +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.TimeCard +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.TimeCard; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.timeCardsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeCards.TimeCardsRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffReasons.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.JoinedTeams.Item.Schedule.TimeOffReasons.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 0f681dd2bbe..d382ce713b5 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "A5840EB5068B890531514334D5B87B824E14F65AEB9D1096461446A860A32DBDED7C49BE56793C270C8B0B0FB4E34EC25E00A09F4B90842BA2FFB86304462E3B", + "descriptionHash": "9E663195D3396305A21052EE7528EA04B9C6AC39792CAA8B6E5E33BFCF297C594930AD5C0AD38424DD34749D1608C17DF44DEFCD74F2E3571B00FBFD53706955", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.23.0", + "kiotaVersion": "1.24.0", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph",