From 61054eaaed70a6eca97d176c4d98368354b224b9 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Wed, 21 Oct 2026 17:33:12 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 251993 --- .../Devices/DevicesRequestBuilder.cs | 6 + .../Provision/ProvisionPostRequestBody.cs | 81 ++++ .../Provision/ProvisionRequestBuilder.cs | 104 +++++ .../RefreshStatusRequestBuilder.cs | 98 +++++ .../RelatedTenantsRequestBuilder.cs | 6 + .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../CustomExtensionsRequestBuilder.cs | 12 +- ...ustomCalloutExtensionItemRequestBuilder.cs | 17 +- .../UpdateRequestRequestBuilder.cs | 5 +- .../AuthenticationRequestBuilder.cs | 6 + .../Count/CountRequestBuilder.cs | 124 ++++++ .../Item/Device/DeviceRequestBuilder.cs | 125 ++++++ ...yAuthenticationMethodItemRequestBuilder.cs | 180 ++++++++ ...tKeyAuthenticationMethodsRequestBuilder.cs | 183 ++++++++ .../MailFolders/Delta/DeltaRequestBuilder.cs | 8 +- .../ChildFolders/Delta/DeltaRequestBuilder.cs | 8 +- .../AnonymousCalendarSharingFreeBusyDetail.cs | 53 +++ ...nonymousCalendarSharingFreeBusyReviewer.cs | 53 +++ .../AnonymousCalendarSharingFreeBusySimple.cs | 53 +++ .../Generated/Models/Authentication.cs | 18 + .../Generated/Models/AuthenticationMethod.cs | 1 + .../CustomExtensionClientConfiguration.cs | 4 +- .../Generated/Models/Entity.cs | 4 + ...torageContainerTypeRegistrationSettings.cs | 8 + .../FileStorageContainerTypeSettings.cs | 8 + ...ileStorageContainerTypeSettingsOverride.cs | 4 + src/Microsoft.Graph/Generated/Models/Group.cs | 2 +- .../Generated/Models/HttpRequestEndpoint.cs | 2 +- .../Generated/Models/M365CapabilityBase.cs | 3 + .../Generated/Models/Presence.cs | 4 +- .../Generated/Models/PrivilegedAccessRoot.cs | 2 +- .../Generated/Models/ProvisionResponse.cs | 117 +++++ .../Models/RelatedTenantsRefreshStatus.cs | 116 +++++ .../ResourceAccountKeyAuthenticationMethod.cs | 89 ++++ ...yAuthenticationMethodCollectionResponse.cs | 64 +++ .../RoleManagementCustomCalloutExtension.cs | 2 +- .../Models/Security/AuditLogQuery.cs | 23 +- .../Models/SystemBrowserEnabledOn.cs | 6 +- ...RoleManagementPolicyCustomExtensionRule.cs | 8 +- .../UpdateRequestRequestBuilder.cs | 5 +- ...UnifiedRoleDefinitionItemRequestBuilder.cs | 4 +- .../UpdateRequestRequestBuilder.cs | 5 +- .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../Permission/PermissionRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../Item/PermissionItemRequestBuilder.cs | 6 + .../RevokeGrantsPostRequestBody.cs | 82 ++++ .../RevokeGrantsRequestBuilder.cs | 104 +++++ .../AuthenticationRequestBuilder.cs | 6 + .../Count/CountRequestBuilder.cs | 124 ++++++ .../Item/Device/DeviceRequestBuilder.cs | 125 ++++++ ...yAuthenticationMethodItemRequestBuilder.cs | 182 ++++++++ ...tKeyAuthenticationMethodsRequestBuilder.cs | 184 ++++++++ .../MailFolders/Delta/DeltaRequestBuilder.cs | 8 +- .../ChildFolders/Delta/DeltaRequestBuilder.cs | 8 +- .../Generated/kiota-dom-export.txt | 408 +++++++++++++++++- src/Microsoft.Graph/Generated/kiota-lock.json | 4 +- 92 files changed, 5305 insertions(+), 53 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/Devices/Provision/ProvisionPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Devices/Provision/ProvisionRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/RelatedTenants/RefreshStatus/RefreshStatusRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AnonymousCalendarSharingFreeBusyDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AnonymousCalendarSharingFreeBusyReviewer.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AnonymousCalendarSharingFreeBusySimple.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ProvisionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RelatedTenantsRefreshStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ResourceAccountKeyAuthenticationMethod.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ResourceAccountKeyAuthenticationMethodCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Shares/Item/Permission/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Shares/Item/Permission/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs diff --git a/src/Microsoft.Graph/Generated/Devices/DevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/DevicesRequestBuilder.cs index 2e307ca7723..a4a91d6bc2b 100644 --- a/src/Microsoft.Graph/Generated/Devices/DevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/DevicesRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Devices.GetAvailableExtensionProperties; using Microsoft.Graph.Devices.GetByIds; using Microsoft.Graph.Devices.Item; +using Microsoft.Graph.Devices.Provision; using Microsoft.Graph.Devices.ValidateProperties; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -44,6 +45,11 @@ public partial class DevicesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Devices.GetByIds.GetByIdsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the provision method. + public global::Microsoft.Graph.Devices.Provision.ProvisionRequestBuilder Provision + { + get => new global::Microsoft.Graph.Devices.Provision.ProvisionRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the validateProperties method. public global::Microsoft.Graph.Devices.ValidateProperties.ValidatePropertiesRequestBuilder ValidateProperties { diff --git a/src/Microsoft.Graph/Generated/Devices/Provision/ProvisionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Devices/Provision/ProvisionPostRequestBody.cs new file mode 100644 index 00000000000..d6406deffd4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Devices/Provision/ProvisionPostRequestBody.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.Devices.Provision +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProvisionPostRequestBody : 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 provisioningBlob property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProvisioningBlob + { + get { return BackingStore?.Get("provisioningBlob"); } + set { BackingStore?.Set("provisioningBlob", value); } + } +#nullable restore +#else + public string ProvisioningBlob + { + get { return BackingStore?.Get("provisioningBlob"); } + set { BackingStore?.Set("provisioningBlob", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ProvisionPostRequestBody() + { + 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.Devices.Provision.ProvisionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Devices.Provision.ProvisionPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "provisioningBlob", n => { ProvisioningBlob = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("provisioningBlob", ProvisioningBlob); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Devices/Provision/ProvisionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Provision/ProvisionRequestBuilder.cs new file mode 100644 index 00000000000..891b846dce5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Devices/Provision/ProvisionRequestBuilder.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.Devices.Provision +{ + /// + /// Provides operations to call the provision method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProvisionRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ProvisionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/provision", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ProvisionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/provision", rawUrl) + { + } + /// + /// Provision a device on behalf of an approved Virtual Desktop Infrastructure (VDI) provider. This action wraps the Zero Touch Deployment (ZTD) protocol to create a device in a pending state in the customer's directory. The device can't be used for authentication until it completes its registration. The created device is stamped with a system label that identifies the approved VDI provider. Only VDI applications on Microsoft's approved list of VDI providers can successfully call this action. Calls from other applications are blocked even when the application is granted the required permission. + /// 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.Devices.Provision.ProvisionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Devices.Provision.ProvisionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ProvisionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Provision a device on behalf of an approved Virtual Desktop Infrastructure (VDI) provider. This action wraps the Zero Touch Deployment (ZTD) protocol to create a device in a pending state in the customer's directory. The device can't be used for authentication until it completes its registration. The created device is stamped with a system label that identifies the approved VDI provider. Only VDI applications on Microsoft's approved list of VDI providers can successfully call this action. Calls from other applications are blocked even when the application is granted the required permission. + /// + /// 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.Devices.Provision.ProvisionPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Devices.Provision.ProvisionPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Devices.Provision.ProvisionRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Devices.Provision.ProvisionRequestBuilder(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 ProvisionRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/RelatedTenants/RefreshStatus/RefreshStatusRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/RelatedTenants/RefreshStatus/RefreshStatusRequestBuilder.cs new file mode 100644 index 00000000000..0a6ab746ea9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/RelatedTenants/RefreshStatus/RefreshStatusRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus +{ + /// + /// Provides operations to call the refreshStatus method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RefreshStatusRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RefreshStatusRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/refreshStatus()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RefreshStatusRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/refreshStatus()", rawUrl) + { + } + /// + /// Invoke function refreshStatus + /// + /// 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.RelatedTenantsRefreshStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function refreshStatus + /// + /// A + /// Configuration 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.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.RefreshStatusRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.RefreshStatusRequestBuilder(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 RefreshStatusRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilder.cs index 11508b5d0de..58685353843 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/TenantGovernance/RelatedTenants/RelatedTenantsRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.Count; using Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.Item; using Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.Refresh; +using Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -31,6 +32,11 @@ public partial class RelatedTenantsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.Refresh.RefreshRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the refreshStatus method. + public global::Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.RefreshStatusRequestBuilder RefreshStatus + { + get => new global::Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.RefreshStatusRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the relatedTenants property of the microsoft.graph.tenantGovernance entity. /// The unique identifier of relatedTenant /// A diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs index 8c0cd39ab70..c69ed8ef150 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.Grant; +using Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..b64a6bc824c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..a6eded19ac7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Drives.Item.Items.Item.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs index bae7848e34a..31abd4f39cc 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.Grant; +using Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..119a57338e5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..a76fe9dadbb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/PermissionItemRequestBuilder.cs index a9b52fc5c6e..71200176fe1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/PermissionItemRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Drives.Item.List.Permissions.Item.Grant; +using Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Drives.Item.List.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..8777192dd8b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..9da45f0a014 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Drives.Item.List.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs index 9d7dd6d1f48..44da0e3f67d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.Grant; +using Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..822f4633dcd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..a3b92f76bbe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/PermissionItemRequestBuilder.cs index a9e53c8cc69..d7628987e34 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.Grant; +using Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..bd80ae9ccff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..ae8054249a8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs index 9df5463150c..24fa43ffb84 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.Grant; +using Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..101f0e46617 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..418831b1b18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Sites.Item.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/CustomExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/CustomExtensionsRequestBuilder.cs index 8630874c8f8..2154e66d76a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/CustomExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/CustomExtensionsRequestBuilder.cs @@ -54,7 +54,8 @@ public CustomExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Get customExtensions from identityGovernance + /// Get a list of roleManagementCustomCalloutExtension objects configured for Privileged Identity Management (PIM). + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -77,7 +78,8 @@ public CustomExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RoleManagementCustomCalloutExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new navigation property to customExtensions for identityGovernance + /// Create a new roleManagementCustomCalloutExtension object for Privileged Identity Management (PIM). + /// Find more info here /// /// A /// The request body @@ -102,7 +104,7 @@ public CustomExtensionsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.RoleManagementCustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get customExtensions from identityGovernance + /// Get a list of roleManagementCustomCalloutExtension objects configured for Privileged Identity Management (PIM). /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -121,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new navigation property to customExtensions for identityGovernance + /// Create a new roleManagementCustomCalloutExtension object for Privileged Identity Management (PIM). /// /// A /// The request body @@ -152,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.IdentityGovernance.PrivilegedAccess.CustomExtensions.CustomExtensionsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get customExtensions from identityGovernance + /// Get a list of roleManagementCustomCalloutExtension objects configured for Privileged Identity Management (PIM). /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CustomExtensionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/Item/RoleManagementCustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/Item/RoleManagementCustomCalloutExtensionItemRequestBuilder.cs index ca89fa566a8..78fdb205a07 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/Item/RoleManagementCustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/CustomExtensions/Item/RoleManagementCustomCalloutExtensionItemRequestBuilder.cs @@ -35,7 +35,8 @@ public RoleManagementCustomCalloutExtensionItemRequestBuilder(string rawUrl, IRe { } /// - /// Delete navigation property customExtensions for identityGovernance + /// Delete a roleManagementCustomCalloutExtension object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +58,8 @@ public async Task DeleteAsync(Action - /// Get customExtensions from identityGovernance + /// Retrieve the properties of a roleManagementCustomCalloutExtension object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -80,7 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleManagementCustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property customExtensions in identityGovernance + /// Update the properties of a roleManagementCustomCalloutExtension object. + /// Find more info here /// /// A /// The request body @@ -105,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.RoleManagementCustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property customExtensions for identityGovernance + /// Delete a roleManagementCustomCalloutExtension object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -124,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get customExtensions from identityGovernance + /// Retrieve the properties of a roleManagementCustomCalloutExtension object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -143,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property customExtensions in identityGovernance + /// Update the properties of a roleManagementCustomCalloutExtension object. /// /// A /// The request body @@ -182,7 +185,7 @@ public partial class RoleManagementCustomCalloutExtensionItemRequestBuilderDelet { } /// - /// Get customExtensions from identityGovernance + /// Retrieve the properties of a roleManagementCustomCalloutExtension object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RoleManagementCustomCalloutExtensionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs index 506eea910c4..10fbd42fc8f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/PrivilegedAccess/Group/AssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs @@ -35,7 +35,8 @@ public UpdateRequestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Invoke action updateRequest + /// Update a privilegedAccessGroupAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + /// Find more info here /// /// A /// The request body @@ -60,7 +61,7 @@ public UpdateRequestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.PrivilegedAccessGroupAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action updateRequest + /// Update a privilegedAccessGroupAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs index 6b6702af988..0e97571bf1e 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs @@ -9,6 +9,7 @@ using Microsoft.Graph.Me.Authentication.PasswordMethods; using Microsoft.Graph.Me.Authentication.PhoneMethods; using Microsoft.Graph.Me.Authentication.PlatformCredentialMethods; +using Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods; using Microsoft.Graph.Me.Authentication.SoftwareOathMethods; using Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods; using Microsoft.Graph.Me.Authentication.WindowsHelloForBusinessMethods; @@ -75,6 +76,11 @@ public partial class AuthenticationRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.PlatformCredentialMethodsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. + public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder ResourceAccountKeyAuthenticationMethods + { + get => new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. public global::Microsoft.Graph.Me.Authentication.SoftwareOathMethods.SoftwareOathMethodsRequestBuilder SoftwareOathMethods { diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..966ba5c6ce7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/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.Authentication.ResourceAccountKeyAuthenticationMethods.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/authentication/resourceAccountKeyAuthenticationMethods/$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/authentication/resourceAccountKeyAuthenticationMethods/$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.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.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/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs new file mode 100644 index 00000000000..9730f430df7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device +{ + /// + /// Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}/device{?%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 DeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}/device{?%24expand,%24select}", rawUrl) + { + } + /// + /// The registered device on which this resource account key resides. Supports $expand. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The registered device on which this resource account key resides. Supports $expand. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The registered device on which this resource account key resides. Supports $expand. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceRequestBuilderGetQueryParameters + { + /// 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 DeviceRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs new file mode 100644 index 00000000000..8c8c8c7b961 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device; +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.Authentication.ResourceAccountKeyAuthenticationMethods.Item +{ + /// + /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ResourceAccountKeyAuthenticationMethodItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. + public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder Device + { + get => new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder(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 ResourceAccountKeyAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%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 ResourceAccountKeyAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property resourceAccountKeyAuthenticationMethods 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); + } + /// + /// Represents the resource account key credentials registered to a user for authentication on shared devices. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property resourceAccountKeyAuthenticationMethods 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; + } + /// + /// Represents the resource account key credentials registered to a user for authentication on shared devices. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder(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 ResourceAccountKeyAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Represents the resource account key credentials registered to a user for authentication on shared devices. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetQueryParameters + { + /// 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 ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs new file mode 100644 index 00000000000..b9522168d40 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count; +using Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.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.Authentication.ResourceAccountKeyAuthenticationMethods +{ + /// + /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ResourceAccountKeyAuthenticationMethodsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. + /// The unique identifier of resourceAccountKeyAuthenticationMethod + /// A + public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("resourceAccountKeyAuthenticationMethod%2Did", position); + return new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder(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 ResourceAccountKeyAuthenticationMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods{?%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 ResourceAccountKeyAuthenticationMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Represents the resource account key credentials registered to a user for authentication on shared devices. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Represents the resource account key credentials registered to a user for authentication on shared devices. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Represents the resource account key credentials registered to a user for authentication on shared devices. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ResourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters + { + /// 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 ResourceAccountKeyAuthenticationMethodsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaRequestBuilder.cs index 6abf07f08e2..c3ec9e45f11 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs index 7d2720a7cc3..fc5f52ae3d7 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Models/AnonymousCalendarSharingFreeBusyDetail.cs b/src/Microsoft.Graph/Generated/Models/AnonymousCalendarSharingFreeBusyDetail.cs new file mode 100644 index 00000000000..e175fc8a588 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AnonymousCalendarSharingFreeBusyDetail.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnonymousCalendarSharingFreeBusyDetail : global::Microsoft.Graph.Models.M365CapabilityBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AnonymousCalendarSharingFreeBusyDetail() : base() + { + OdataType = "#microsoft.graph.anonymousCalendarSharingFreeBusyDetail"; + } + /// + /// 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.AnonymousCalendarSharingFreeBusyDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AnonymousCalendarSharingFreeBusyDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AnonymousCalendarSharingFreeBusyReviewer.cs b/src/Microsoft.Graph/Generated/Models/AnonymousCalendarSharingFreeBusyReviewer.cs new file mode 100644 index 00000000000..296937d9aa8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AnonymousCalendarSharingFreeBusyReviewer.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnonymousCalendarSharingFreeBusyReviewer : global::Microsoft.Graph.Models.M365CapabilityBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AnonymousCalendarSharingFreeBusyReviewer() : base() + { + OdataType = "#microsoft.graph.anonymousCalendarSharingFreeBusyReviewer"; + } + /// + /// 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.AnonymousCalendarSharingFreeBusyReviewer CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AnonymousCalendarSharingFreeBusyReviewer(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AnonymousCalendarSharingFreeBusySimple.cs b/src/Microsoft.Graph/Generated/Models/AnonymousCalendarSharingFreeBusySimple.cs new file mode 100644 index 00000000000..e59fc96cf58 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AnonymousCalendarSharingFreeBusySimple.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnonymousCalendarSharingFreeBusySimple : global::Microsoft.Graph.Models.M365CapabilityBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AnonymousCalendarSharingFreeBusySimple() : base() + { + OdataType = "#microsoft.graph.anonymousCalendarSharingFreeBusySimple"; + } + /// + /// 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.AnonymousCalendarSharingFreeBusySimple CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AnonymousCalendarSharingFreeBusySimple(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Authentication.cs b/src/Microsoft.Graph/Generated/Models/Authentication.cs index 609f753f7a7..8e03a3c0cdc 100644 --- a/src/Microsoft.Graph/Generated/Models/Authentication.cs +++ b/src/Microsoft.Graph/Generated/Models/Authentication.cs @@ -155,6 +155,22 @@ public partial class Authentication : global::Microsoft.Graph.Models.Entity, IPa get { return BackingStore?.Get>("platformCredentialMethods"); } set { BackingStore?.Set("platformCredentialMethods", value); } } +#endif + /// Represents the resource account key credentials registered to a user for authentication on shared devices. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ResourceAccountKeyAuthenticationMethods + { + get { return BackingStore?.Get?>("resourceAccountKeyAuthenticationMethods"); } + set { BackingStore?.Set("resourceAccountKeyAuthenticationMethods", value); } + } +#nullable restore +#else + public List ResourceAccountKeyAuthenticationMethods + { + get { return BackingStore?.Get>("resourceAccountKeyAuthenticationMethods"); } + set { BackingStore?.Set("resourceAccountKeyAuthenticationMethods", value); } + } #endif /// The software OATH time-based one-time password (TOTP) applications registered to a user for authentication. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -231,6 +247,7 @@ public override IDictionary> GetFieldDeserializers() { "passwordMethods", n => { PasswordMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PasswordAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, { "phoneMethods", n => { PhoneMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PhoneAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, { "platformCredentialMethods", n => { PlatformCredentialMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PlatformCredentialAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, + { "resourceAccountKeyAuthenticationMethods", n => { ResourceAccountKeyAuthenticationMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, { "softwareOathMethods", n => { SoftwareOathMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SoftwareOathAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, { "temporaryAccessPassMethods", n => { TemporaryAccessPassMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, { "windowsHelloForBusinessMethods", n => { WindowsHelloForBusinessMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.WindowsHelloForBusinessAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -253,6 +270,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("passwordMethods", PasswordMethods); writer.WriteCollectionOfObjectValues("phoneMethods", PhoneMethods); writer.WriteCollectionOfObjectValues("platformCredentialMethods", PlatformCredentialMethods); + writer.WriteCollectionOfObjectValues("resourceAccountKeyAuthenticationMethods", ResourceAccountKeyAuthenticationMethods); writer.WriteCollectionOfObjectValues("softwareOathMethods", SoftwareOathMethods); writer.WriteCollectionOfObjectValues("temporaryAccessPassMethods", TemporaryAccessPassMethods); writer.WriteCollectionOfObjectValues("windowsHelloForBusinessMethods", WindowsHelloForBusinessMethods); diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs index e31e48b2c52..d46b5b3760c 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs @@ -37,6 +37,7 @@ public DateTimeOffset? CreatedDateTime "#microsoft.graph.phoneAuthenticationMethod" => new global::Microsoft.Graph.Models.PhoneAuthenticationMethod(), "#microsoft.graph.platformCredentialAuthenticationMethod" => new global::Microsoft.Graph.Models.PlatformCredentialAuthenticationMethod(), "#microsoft.graph.qrCodePinAuthenticationMethod" => new global::Microsoft.Graph.Models.QrCodePinAuthenticationMethod(), + "#microsoft.graph.resourceAccountKeyAuthenticationMethod" => new global::Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethod(), "#microsoft.graph.softwareOathAuthenticationMethod" => new global::Microsoft.Graph.Models.SoftwareOathAuthenticationMethod(), "#microsoft.graph.temporaryAccessPassAuthenticationMethod" => new global::Microsoft.Graph.Models.TemporaryAccessPassAuthenticationMethod(), "#microsoft.graph.windowsHelloForBusinessAuthenticationMethod" => new global::Microsoft.Graph.Models.WindowsHelloForBusinessAuthenticationMethod(), diff --git a/src/Microsoft.Graph/Generated/Models/CustomExtensionClientConfiguration.cs b/src/Microsoft.Graph/Generated/Models/CustomExtensionClientConfiguration.cs index 5c2c8db2d3b..89e26280fa2 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomExtensionClientConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomExtensionClientConfiguration.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The max number of retries that Microsoft Entra ID makes to the external API. Values of 0 or 1 are supported. If null, the default for the service applies. + /// The max number of retries that Microsoft Entra ID makes to the external API. For a roleManagementCustomCalloutExtension, the valid range is from 0 through 5. For other custom extensions, values of 0 or 1 are supported. If null, the default for the service applies. public int? MaximumRetries { get { return BackingStore?.Get("maximumRetries"); } @@ -43,7 +43,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The max duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. Default duration is 1000. + /// The max duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it shuts down the connection. For a roleManagementCustomCalloutExtension, the valid range is from 1000 through 60000 milliseconds. For other custom extensions, the valid range is from 200 through 2000 milliseconds and the default is 1000 milliseconds. public int? TimeoutInMilliseconds { get { return BackingStore?.Get("timeoutInMilliseconds"); } diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index dd74a12f8ff..1b38202b3ff 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -145,6 +145,9 @@ public Entity() "#microsoft.graph.androidWorkProfileCompliancePolicy" => new global::Microsoft.Graph.Models.AndroidWorkProfileCompliancePolicy(), "#microsoft.graph.androidWorkProfileCustomConfiguration" => new global::Microsoft.Graph.Models.AndroidWorkProfileCustomConfiguration(), "#microsoft.graph.androidWorkProfileGeneralDeviceConfiguration" => new global::Microsoft.Graph.Models.AndroidWorkProfileGeneralDeviceConfiguration(), + "#microsoft.graph.anonymousCalendarSharingFreeBusyDetail" => new global::Microsoft.Graph.Models.AnonymousCalendarSharingFreeBusyDetail(), + "#microsoft.graph.anonymousCalendarSharingFreeBusyReviewer" => new global::Microsoft.Graph.Models.AnonymousCalendarSharingFreeBusyReviewer(), + "#microsoft.graph.anonymousCalendarSharingFreeBusySimple" => new global::Microsoft.Graph.Models.AnonymousCalendarSharingFreeBusySimple(), "#microsoft.graph.anonymousGuestConversationMember" => new global::Microsoft.Graph.Models.AnonymousGuestConversationMember(), "#microsoft.graph.appCatalogs" => new global::Microsoft.Graph.Models.AppCatalogs(), "#microsoft.graph.appConsentApprovalRoute" => new global::Microsoft.Graph.Models.AppConsentApprovalRoute(), @@ -831,6 +834,7 @@ public Entity() "#microsoft.graph.reportsRoot" => new global::Microsoft.Graph.Models.ReportsRoot(), "#microsoft.graph.request" => new global::Microsoft.Graph.Models.Request(), "#microsoft.graph.resellerDelegatedAdminRelationship" => new global::Microsoft.Graph.Models.ResellerDelegatedAdminRelationship(), + "#microsoft.graph.resourceAccountKeyAuthenticationMethod" => new global::Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethod(), "#microsoft.graph.resourceOperation" => new global::Microsoft.Graph.Models.ResourceOperation(), "#microsoft.graph.resourceSpecificPermissionGrant" => new global::Microsoft.Graph.Models.ResourceSpecificPermissionGrant(), "#microsoft.graph.restoreArtifactBase" => new global::Microsoft.Graph.Models.RestoreArtifactBase(), diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeRegistrationSettings.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeRegistrationSettings.cs index 93e938b2776..b44458cd4fc 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeRegistrationSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeRegistrationSettings.cs @@ -33,6 +33,12 @@ public bool? IsItemVersioningEnabled get { return BackingStore?.Get("isItemVersioningEnabled"); } set { BackingStore?.Set("isItemVersioningEnabled", value); } } + /// Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type. + public bool? IsOfficeRestricted + { + get { return BackingStore?.Get("isOfficeRestricted"); } + set { BackingStore?.Set("isOfficeRestricted", value); } + } /// Indicates whether search is enabled. public bool? IsSearchEnabled { @@ -123,6 +129,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "isDiscoverabilityEnabled", n => { IsDiscoverabilityEnabled = n.GetBoolValue(); } }, { "isItemVersioningEnabled", n => { IsItemVersioningEnabled = n.GetBoolValue(); } }, + { "isOfficeRestricted", n => { IsOfficeRestricted = n.GetBoolValue(); } }, { "isSearchEnabled", n => { IsSearchEnabled = n.GetBoolValue(); } }, { "isSharingRestricted", n => { IsSharingRestricted = n.GetBoolValue(); } }, { "itemMajorVersionLimit", n => { ItemMajorVersionLimit = n.GetLongValue(); } }, @@ -141,6 +148,7 @@ public virtual void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); writer.WriteBoolValue("isDiscoverabilityEnabled", IsDiscoverabilityEnabled); writer.WriteBoolValue("isItemVersioningEnabled", IsItemVersioningEnabled); + writer.WriteBoolValue("isOfficeRestricted", IsOfficeRestricted); writer.WriteBoolValue("isSearchEnabled", IsSearchEnabled); writer.WriteBoolValue("isSharingRestricted", IsSharingRestricted); writer.WriteLongValue("itemMajorVersionLimit", ItemMajorVersionLimit); diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettings.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettings.cs index 2065248faa3..e51f08acc8c 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettings.cs @@ -39,6 +39,12 @@ public bool? IsItemVersioningEnabled get { return BackingStore?.Get("isItemVersioningEnabled"); } set { BackingStore?.Set("isItemVersioningEnabled", value); } } + /// Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type. + public bool? IsOfficeRestricted + { + get { return BackingStore?.Get("isOfficeRestricted"); } + set { BackingStore?.Set("isOfficeRestricted", value); } + } /// Indicates whether search is enabled. public bool? IsSearchEnabled { @@ -130,6 +136,7 @@ public virtual IDictionary> GetFieldDeserializers() { "consumingTenantOverridables", n => { ConsumingTenantOverridables = n.GetEnumValue(); } }, { "isDiscoverabilityEnabled", n => { IsDiscoverabilityEnabled = n.GetBoolValue(); } }, { "isItemVersioningEnabled", n => { IsItemVersioningEnabled = n.GetBoolValue(); } }, + { "isOfficeRestricted", n => { IsOfficeRestricted = n.GetBoolValue(); } }, { "isSearchEnabled", n => { IsSearchEnabled = n.GetBoolValue(); } }, { "isSharingRestricted", n => { IsSharingRestricted = n.GetBoolValue(); } }, { "itemMajorVersionLimit", n => { ItemMajorVersionLimit = n.GetLongValue(); } }, @@ -149,6 +156,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteEnumValue("consumingTenantOverridables", ConsumingTenantOverridables); writer.WriteBoolValue("isDiscoverabilityEnabled", IsDiscoverabilityEnabled); writer.WriteBoolValue("isItemVersioningEnabled", IsItemVersioningEnabled); + writer.WriteBoolValue("isOfficeRestricted", IsOfficeRestricted); writer.WriteBoolValue("isSearchEnabled", IsSearchEnabled); writer.WriteBoolValue("isSharingRestricted", IsSharingRestricted); writer.WriteLongValue("itemMajorVersionLimit", ItemMajorVersionLimit); diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettingsOverride.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettingsOverride.cs index 9ddf2bbc030..91bdfbb1774 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettingsOverride.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettingsOverride.cs @@ -37,5 +37,9 @@ public enum FileStorageContainerTypeSettingsOverride #pragma warning disable CS1591 UnknownFutureValue = 64, #pragma warning restore CS1591 + [EnumMember(Value = "isOfficeRestricted")] + #pragma warning disable CS1591 + IsOfficeRestricted = 128, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/Group.cs b/src/Microsoft.Graph/Generated/Models/Group.cs index 9e647a625f2..81b7156aa7c 100644 --- a/src/Microsoft.Graph/Generated/Models/Group.cs +++ b/src/Microsoft.Graph/Generated/Models/Group.cs @@ -56,7 +56,7 @@ public bool? AllowExternalSenders set { BackingStore?.Set("appRoleAssignments", value); } } #endif - /// The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it's immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups. + /// The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it's immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. To learn more about managing this property for Microsoft 365 vs. cloud security groups, see Key differences from Microsoft 365 group labeling. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AssignedLabels diff --git a/src/Microsoft.Graph/Generated/Models/HttpRequestEndpoint.cs b/src/Microsoft.Graph/Generated/Models/HttpRequestEndpoint.cs index cf7666ec7e4..e13c7eef159 100644 --- a/src/Microsoft.Graph/Generated/Models/HttpRequestEndpoint.cs +++ b/src/Microsoft.Graph/Generated/Models/HttpRequestEndpoint.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class HttpRequestEndpoint : global::Microsoft.Graph.Models.CustomExtensionEndpointConfiguration, IParsable #pragma warning restore CS1591 { - /// The HTTP endpoint that a custom extension calls. + /// The URL of the HTTP endpoint that Microsoft Entra ID calls for the custom extension. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TargetUrl diff --git a/src/Microsoft.Graph/Generated/Models/M365CapabilityBase.cs b/src/Microsoft.Graph/Generated/Models/M365CapabilityBase.cs index 23c8640ee9d..74451a3b233 100644 --- a/src/Microsoft.Graph/Generated/Models/M365CapabilityBase.cs +++ b/src/Microsoft.Graph/Generated/Models/M365CapabilityBase.cs @@ -61,6 +61,9 @@ public string Name var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.anonymousCalendarSharingFreeBusyDetail" => new global::Microsoft.Graph.Models.AnonymousCalendarSharingFreeBusyDetail(), + "#microsoft.graph.anonymousCalendarSharingFreeBusyReviewer" => new global::Microsoft.Graph.Models.AnonymousCalendarSharingFreeBusyReviewer(), + "#microsoft.graph.anonymousCalendarSharingFreeBusySimple" => new global::Microsoft.Graph.Models.AnonymousCalendarSharingFreeBusySimple(), "#microsoft.graph.crossTenantCalendarAvailabilityBasic" => new global::Microsoft.Graph.Models.CrossTenantCalendarAvailabilityBasic(), "#microsoft.graph.crossTenantCalendarAvailabilityLimitedDetails" => new global::Microsoft.Graph.Models.CrossTenantCalendarAvailabilityLimitedDetails(), "#microsoft.graph.crossTenantCalendarSharingFreeBusyDetail" => new global::Microsoft.Graph.Models.CrossTenantCalendarSharingFreeBusyDetail(), diff --git a/src/Microsoft.Graph/Generated/Models/Presence.cs b/src/Microsoft.Graph/Generated/Models/Presence.cs index 8ff02c41e09..0845289b53c 100644 --- a/src/Microsoft.Graph/Generated/Models/Presence.cs +++ b/src/Microsoft.Graph/Generated/Models/Presence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class Presence : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The supplemental information to a user's availability. Possible values are available, away, beRightBack, busy, doNotDisturb, offline, outOfOffice, presenceUnknown. + /// The supplemental information to a user's availability. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Offline, OutOfOffice, PresenceUnknown. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Activity @@ -28,7 +28,7 @@ public string Activity set { BackingStore?.Set("activity", value); } } #endif - /// The base presence information for a user. Possible values are available, away, beRightBack, busy, doNotDisturb, focusing, inACall, inAMeeting, offline, presenting, presenceUnknown. + /// The base presence information for a user. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Focusing, InACall, InAMeeting, Offline, Presenting, PresenceUnknown. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Availability diff --git a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessRoot.cs b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessRoot.cs index 556a66f15c2..a3032ffd1ad 100644 --- a/src/Microsoft.Graph/Generated/Models/PrivilegedAccessRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/PrivilegedAccessRoot.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class PrivilegedAccessRoot : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The customExtensions property + /// The custom extensions configured for PIM role management operations. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? CustomExtensions diff --git a/src/Microsoft.Graph/Generated/Models/ProvisionResponse.cs b/src/Microsoft.Graph/Generated/Models/ProvisionResponse.cs new file mode 100644 index 00000000000..d6644a4328c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ProvisionResponse.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ProvisionResponse : 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 cryptographic challenge that the device uses to complete its registration with the directory. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Challenge + { + get { return BackingStore?.Get("challenge"); } + set { BackingStore?.Set("challenge", value); } + } +#nullable restore +#else + public string Challenge + { + get { return BackingStore?.Get("challenge"); } + set { BackingStore?.Set("challenge", value); } + } +#endif + /// The unique identifier of the provisioned device. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DeviceId + { + get { return BackingStore?.Get("deviceId"); } + set { BackingStore?.Set("deviceId", value); } + } +#nullable restore +#else + public string DeviceId + { + get { return BackingStore?.Get("deviceId"); } + set { BackingStore?.Set("deviceId", 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 ProvisionResponse() + { + 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.ProvisionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ProvisionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "challenge", n => { Challenge = n.GetStringValue(); } }, + { "deviceId", n => { DeviceId = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("challenge", Challenge); + writer.WriteStringValue("deviceId", DeviceId); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RelatedTenantsRefreshStatus.cs b/src/Microsoft.Graph/Generated/Models/RelatedTenantsRefreshStatus.cs new file mode 100644 index 00000000000..561ccdd38ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RelatedTenantsRefreshStatus.cs @@ -0,0 +1,116 @@ +// +#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 +{ + /// + /// Represents the status of the most recent Related Tenants refresh operation. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RelatedTenantsRefreshStatus : IAdditionalDataHolder, IBackedModel, IParsable + { + /// 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 isFirstRefresh property + public bool? IsFirstRefresh + { + get { return BackingStore?.Get("isFirstRefresh"); } + set { BackingStore?.Set("isFirstRefresh", value); } + } + /// The mostRecentRefreshDateTime property + public DateTimeOffset? MostRecentRefreshDateTime + { + get { return BackingStore?.Get("mostRecentRefreshDateTime"); } + set { BackingStore?.Set("mostRecentRefreshDateTime", value); } + } + /// The mostRecentRefreshRequestStatus property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MostRecentRefreshRequestStatus + { + get { return BackingStore?.Get("mostRecentRefreshRequestStatus"); } + set { BackingStore?.Set("mostRecentRefreshRequestStatus", value); } + } +#nullable restore +#else + public string MostRecentRefreshRequestStatus + { + get { return BackingStore?.Get("mostRecentRefreshRequestStatus"); } + set { BackingStore?.Set("mostRecentRefreshRequestStatus", 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 RelatedTenantsRefreshStatus() + { + 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.RelatedTenantsRefreshStatus CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.RelatedTenantsRefreshStatus(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isFirstRefresh", n => { IsFirstRefresh = n.GetBoolValue(); } }, + { "mostRecentRefreshDateTime", n => { MostRecentRefreshDateTime = n.GetDateTimeOffsetValue(); } }, + { "mostRecentRefreshRequestStatus", n => { MostRecentRefreshRequestStatus = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isFirstRefresh", IsFirstRefresh); + writer.WriteDateTimeOffsetValue("mostRecentRefreshDateTime", MostRecentRefreshDateTime); + writer.WriteStringValue("mostRecentRefreshRequestStatus", MostRecentRefreshRequestStatus); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ResourceAccountKeyAuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/ResourceAccountKeyAuthenticationMethod.cs new file mode 100644 index 00000000000..cedd2d3bf20 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ResourceAccountKeyAuthenticationMethod.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ResourceAccountKeyAuthenticationMethod : global::Microsoft.Graph.Models.AuthenticationMethod, IParsable + #pragma warning restore CS1591 + { + /// The registered device on which this resource account key resides. Supports $expand. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Device? Device + { + get { return BackingStore?.Get("device"); } + set { BackingStore?.Set("device", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Device Device + { + get { return BackingStore?.Get("device"); } + set { BackingStore?.Set("device", value); } + } +#endif + /// The display name of the resource account key credential as shown in the Teams Room interface. +#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 + /// + /// Instantiates a new and sets the default values. + /// + public ResourceAccountKeyAuthenticationMethod() : base() + { + OdataType = "#microsoft.graph.resourceAccountKeyAuthenticationMethod"; + } + /// + /// 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.ResourceAccountKeyAuthenticationMethod CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethod(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "device", n => { Device = n.GetObjectValue(global::Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("device", Device); + writer.WriteStringValue("displayName", DisplayName); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ResourceAccountKeyAuthenticationMethodCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ResourceAccountKeyAuthenticationMethodCollectionResponse.cs new file mode 100644 index 00000000000..e69728489c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ResourceAccountKeyAuthenticationMethodCollectionResponse.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 ResourceAccountKeyAuthenticationMethodCollectionResponse : 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.ResourceAccountKeyAuthenticationMethodCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethodCollectionResponse(); + } + /// + /// 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.ResourceAccountKeyAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/RoleManagementCustomCalloutExtension.cs b/src/Microsoft.Graph/Generated/Models/RoleManagementCustomCalloutExtension.cs index 8d858d8e938..69ee5e3c92d 100644 --- a/src/Microsoft.Graph/Generated/Models/RoleManagementCustomCalloutExtension.cs +++ b/src/Microsoft.Graph/Generated/Models/RoleManagementCustomCalloutExtension.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class RoleManagementCustomCalloutExtension : global::Microsoft.Graph.Models.CustomCalloutExtension, IParsable #pragma warning restore CS1591 { - /// The customAttributes property + /// The custom attribute names to include in the callout payload. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? CustomAttributes diff --git a/src/Microsoft.Graph/Generated/Models/Security/AuditLogQuery.cs b/src/Microsoft.Graph/Generated/Models/Security/AuditLogQuery.cs index a925b8c9ba7..a1aa989d763 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AuditLogQuery.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AuditLogQuery.cs @@ -29,6 +29,12 @@ public List AdministrativeUnitIdFilters set { BackingStore?.Set("administrativeUnitIdFilters", value); } } #endif + /// The approximate number of records retrieved by the query. This value can be higher or lower than recordCountLimit due to distributed counting. Read-only. + public long? ApproximateReturnedRecordCount + { + get { return BackingStore?.Get("approximateReturnedRecordCount"); } + set { BackingStore?.Set("approximateReturnedRecordCount", value); } + } /// The display name of the audit log query. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -73,7 +79,13 @@ public List IpAddressFilters set { BackingStore?.Set("ipAddressFilters", value); } } #endif - /// The keyword to filter on. + /// Indicates whether the query exceeded the per-search record-count limit. The default value is false. A value of true is authoritative and isn't derived from approximateReturnedRecordCount. Read-only. + public bool? IsRecordCountLimitExceeded + { + get { return BackingStore?.Get("isRecordCountLimitExceeded"); } + set { BackingStore?.Set("isRecordCountLimitExceeded", value); } + } + /// Free text to match against the non-indexed content of each record: the workload-specific properties inside auditData, including its AppAccessContext object. The indexed common-schema properties, such as the operation name, aren't matched by keyword; use their own filters, such as operationFilters, for those. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? KeywordFilter @@ -121,6 +133,12 @@ public List OperationFilters set { BackingStore?.Set("operationFilters", value); } } #endif + /// The record-count threshold used to limit query result retrieval. Read-only. + public long? RecordCountLimit + { + get { return BackingStore?.Get("recordCountLimit"); } + set { BackingStore?.Set("recordCountLimit", value); } + } /// The collection of audit log records retrieved by the query. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -210,13 +228,16 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "administrativeUnitIdFilters", n => { AdministrativeUnitIdFilters = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "approximateReturnedRecordCount", n => { ApproximateReturnedRecordCount = n.GetLongValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "filterEndDateTime", n => { FilterEndDateTime = n.GetDateTimeOffsetValue(); } }, { "filterStartDateTime", n => { FilterStartDateTime = n.GetDateTimeOffsetValue(); } }, { "ipAddressFilters", n => { IpAddressFilters = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isRecordCountLimitExceeded", n => { IsRecordCountLimitExceeded = n.GetBoolValue(); } }, { "keywordFilter", n => { KeywordFilter = n.GetStringValue(); } }, { "objectIdFilters", n => { ObjectIdFilters = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "operationFilters", n => { OperationFilters = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "recordCountLimit", n => { RecordCountLimit = n.GetLongValue(); } }, { "recordTypeFilters", n => { RecordTypeFilters = n.GetCollectionOfEnumValues()?.AsList(); } }, { "records", n => { Records = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.AuditLogRecord.CreateFromDiscriminatorValue)?.AsList(); } }, { "serviceFilters", n => { ServiceFilters = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, diff --git a/src/Microsoft.Graph/Generated/Models/SystemBrowserEnabledOn.cs b/src/Microsoft.Graph/Generated/Models/SystemBrowserEnabledOn.cs index 564f9581e28..81c0618b62c 100644 --- a/src/Microsoft.Graph/Generated/Models/SystemBrowserEnabledOn.cs +++ b/src/Microsoft.Graph/Generated/Models/SystemBrowserEnabledOn.cs @@ -25,9 +25,13 @@ public enum SystemBrowserEnabledOn #pragma warning disable CS1591 Mac = 8, #pragma warning restore CS1591 + [EnumMember(Value = "linux")] + #pragma warning disable CS1591 + Linux = 16, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] #pragma warning disable CS1591 - UnknownFutureValue = 16, + UnknownFutureValue = 32, #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyCustomExtensionRule.cs b/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyCustomExtensionRule.cs index 453a1367da9..80cc547a99f 100644 --- a/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyCustomExtensionRule.cs +++ b/src/Microsoft.Graph/Generated/Models/UnifiedRoleManagementPolicyCustomExtensionRule.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class UnifiedRoleManagementPolicyCustomExtensionRule : global::Microsoft.Graph.Models.UnifiedRoleManagementPolicyRule, IParsable #pragma warning restore CS1591 { - /// The customAttributes property + /// The custom attributes associated with the policy rule. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? CustomAttributes @@ -28,7 +28,7 @@ public List CustomAttributes set { BackingStore?.Set("customAttributes", value); } } #endif - /// The customExtensionId property + /// The unique identifier of the roleManagementCustomCalloutExtension associated with this rule. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CustomExtensionId @@ -44,7 +44,7 @@ public string CustomExtensionId set { BackingStore?.Set("customExtensionId", value); } } #endif - /// The displayName property + /// The display name of the policy rule. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -60,7 +60,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The isEnabled property + /// Indicates whether the custom extension rule is enabled. public bool? IsEnabled { get { return BackingStore?.Get("isEnabled"); } diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs index b3e047ba9ce..5a35f3a816a 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs @@ -35,7 +35,8 @@ public UpdateRequestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Invoke action updateRequest + /// Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + /// Find more info here /// /// A /// The request body @@ -60,7 +61,7 @@ public UpdateRequestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action updateRequest + /// Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index 645412ad3eb..28ff22ec5bc 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -41,7 +41,7 @@ public UnifiedRoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. + /// Delete a unifiedRoleDefinition object. You can't delete built-in roles. Deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. + /// Delete a unifiedRoleDefinition object. You can't delete built-in roles. Deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs index 6d8f8cada40..9a750eecea0 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UpdateRequest/UpdateRequestRequestBuilder.cs @@ -35,7 +35,8 @@ public UpdateRequestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Invoke action updateRequest + /// Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + /// Find more info here /// /// A /// The request body @@ -60,7 +61,7 @@ public UpdateRequestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action updateRequest + /// Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs index 9c88c636a4f..7c3571c388b 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.Grant; +using Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..839756c886a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..0e9461fb961 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/PermissionItemRequestBuilder.cs index 6788dc4b097..ee1291ce356 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/PermissionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Shares.Item.List.Permissions.Item.Grant; +using Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Shares.Item.List.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..b4ba80aa229 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..2ab96c2c80a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Shares.Item.List.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Permission/PermissionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/Permission/PermissionRequestBuilder.cs index 04c482fa056..9877fb31f12 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/Permission/PermissionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/Permission/PermissionRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Shares.Item.Permission.Grant; +using Microsoft.Graph.Shares.Item.Permission.RevokeGrants; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PermissionRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Shares.Item.Permission.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Shares.Item.Permission.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Shares.Item.Permission.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Permission/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Shares/Item/Permission/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..38fccd54eb3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Shares/Item/Permission/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Shares.Item.Permission.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Shares.Item.Permission.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Shares.Item.Permission.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Permission/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/Permission/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..d2d3542560f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Shares/Item/Permission/RevokeGrants/RevokeGrantsRequestBuilder.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.Shares.Item.Permission.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/permission/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/permission/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Shares.Item.Permission.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Shares.Item.Permission.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Shares.Item.Permission.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Shares.Item.Permission.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Shares.Item.Permission.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Shares.Item.Permission.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs index dfcb494b97e..a71c7e012fb 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.Grant; +using Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..4dd13e7144b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..9dc0d91dac5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/PermissionItemRequestBuilder.cs index 6d6ed6f0a69..41a19da1850 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.Grant; +using Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..db8dc7d09c4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..91dbb51a3e2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs index f4eeaf10139..e2dfdf3e032 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Sites.Item.Permissions.Item.Grant; +using Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Sites.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..ffe33bb40a2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..c712d13ef1b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Sites.Item.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites/{site%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/PermissionItemRequestBuilder.cs index 299474c5020..b79fe335b4f 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.Grant; +using Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..f41bddd0e18 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..f24685c3df3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/PermissionItemRequestBuilder.cs index 478ac16f483..2f83d211c6a 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant; +using Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PermissionItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the revokeGrants method. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder RevokeGrants + { + get => new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs new file mode 100644 index 00000000000..c65539b1396 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/RevokeGrants/RevokeGrantsPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RevokeGrantsPostRequestBody : 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 grantees property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Grantees + { + get { return BackingStore?.Get?>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#nullable restore +#else + public List Grantees + { + get { return BackingStore?.Get>("grantees"); } + set { BackingStore?.Set("grantees", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RevokeGrantsPostRequestBody() + { + 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.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "grantees", n => { Grantees = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRecipient.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("grantees", Grantees); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs new file mode 100644 index 00000000000..0bc650ab5ce --- /dev/null +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.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.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants +{ + /// + /// Provides operations to call the revokeGrants method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RevokeGrantsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/{permission%2Did}/revokeGrants", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/permissions/{permission%2Did}/revokeGrants", rawUrl) + { + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// 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.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. + /// + /// 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.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder(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 RevokeGrantsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.cs index 2c86e742a8b..4cfe811f25d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.cs @@ -11,6 +11,7 @@ using Microsoft.Graph.Users.Item.Authentication.PasswordMethods; using Microsoft.Graph.Users.Item.Authentication.PhoneMethods; using Microsoft.Graph.Users.Item.Authentication.PlatformCredentialMethods; +using Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods; using Microsoft.Graph.Users.Item.Authentication.SoftwareOathMethods; using Microsoft.Graph.Users.Item.Authentication.TemporaryAccessPassMethods; using Microsoft.Graph.Users.Item.Authentication.WindowsHelloForBusinessMethods; @@ -75,6 +76,11 @@ public partial class AuthenticationRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Authentication.PlatformCredentialMethods.PlatformCredentialMethodsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. + public global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder ResourceAccountKeyAuthenticationMethods + { + get => new global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. public global::Microsoft.Graph.Users.Item.Authentication.SoftwareOathMethods.SoftwareOathMethodsRequestBuilder SoftwareOathMethods { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..c5a9ddab729 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/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.Authentication.ResourceAccountKeyAuthenticationMethods.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}/authentication/resourceAccountKeyAuthenticationMethods/$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}/authentication/resourceAccountKeyAuthenticationMethods/$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.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.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/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs new file mode 100644 index 00000000000..ad2ab0c11cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device +{ + /// + /// Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}/device{?%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 DeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}/device{?%24expand,%24select}", rawUrl) + { + } + /// + /// The registered device on which this resource account key resides. Supports $expand. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The registered device on which this resource account key resides. Supports $expand. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The registered device on which this resource account key resides. Supports $expand. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceRequestBuilderGetQueryParameters + { + /// 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 DeviceRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs new file mode 100644 index 00000000000..5c2796a9044 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs @@ -0,0 +1,182 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.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.Authentication.ResourceAccountKeyAuthenticationMethods.Item +{ + /// + /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ResourceAccountKeyAuthenticationMethodItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. + public global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder Device + { + get => new global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder(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 ResourceAccountKeyAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%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 ResourceAccountKeyAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a resourceAccountKeyAuthenticationMethod object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a resourceAccountKeyAuthenticationMethod object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a resourceAccountKeyAuthenticationMethod object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of a resourceAccountKeyAuthenticationMethod object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this 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.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder(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 ResourceAccountKeyAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of a resourceAccountKeyAuthenticationMethod object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetQueryParameters + { + /// 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 ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs new file mode 100644 index 00000000000..ee2fc7d0279 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count; +using Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.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.Authentication.ResourceAccountKeyAuthenticationMethods +{ + /// + /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ResourceAccountKeyAuthenticationMethodsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. + /// The unique identifier of resourceAccountKeyAuthenticationMethod + /// A + public global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("resourceAccountKeyAuthenticationMethod%2Did", position); + return new global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder(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 ResourceAccountKeyAuthenticationMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/resourceAccountKeyAuthenticationMethods{?%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 ResourceAccountKeyAuthenticationMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/resourceAccountKeyAuthenticationMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Retrieve a list of the resourceAccountKeyAuthenticationMethod objects and their properties for a resource account. + /// 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.ResourceAccountKeyAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve a list of the resourceAccountKeyAuthenticationMethod objects and their properties for a resource account. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Retrieve a list of the resourceAccountKeyAuthenticationMethod objects and their properties for a resource account. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ResourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters + { + /// 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 ResourceAccountKeyAuthenticationMethodsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.cs index 2676ebafd66..cf050652dcb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.MailFolders.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.MailFolders.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs index 86cc55c028a..62904451f00 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Users.Item.MailFolders.Item.ChildFolders.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. + /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 50974a7d0a4..aa78aaadedc 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -20252,6 +20252,7 @@ Microsoft.Graph.Devices.devicesRequestBuilder::|public|GetAsync(requestConfigura Microsoft.Graph.Devices.devicesRequestBuilder::|public|getAvailableExtensionProperties:global.Microsoft.Graph.Devices.GetAvailableExtensionProperties.GetAvailableExtensionPropertiesRequestBuilder Microsoft.Graph.Devices.devicesRequestBuilder::|public|getByIds:global.Microsoft.Graph.Devices.GetByIds.GetByIdsRequestBuilder Microsoft.Graph.Devices.devicesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Device; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Device +Microsoft.Graph.Devices.devicesRequestBuilder::|public|provision:global.Microsoft.Graph.Devices.Provision.ProvisionRequestBuilder Microsoft.Graph.Devices.devicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Devices.devicesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Device; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Devices.devicesRequestBuilder::|public|validateProperties:global.Microsoft.Graph.Devices.ValidateProperties.ValidatePropertiesRequestBuilder @@ -21089,6 +21090,21 @@ Microsoft.Graph.Devices.Item.TransitiveMemberOf.transitiveMemberOfRequestBuilder Microsoft.Graph.Devices.Item.TransitiveMemberOf.transitiveMemberOfRequestBuilder::|public|graphGroup:global.Microsoft.Graph.Devices.Item.TransitiveMemberOf.GraphGroup.GraphGroupRequestBuilder Microsoft.Graph.Devices.Item.TransitiveMemberOf.transitiveMemberOfRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Devices.Item.TransitiveMemberOf.transitiveMemberOfRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Devices.Item.TransitiveMemberOf.TransitiveMemberOfRequestBuilder +Microsoft.Graph.Devices.Provision.provisionPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Devices.Provision.provisionPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Devices.Provision.provisionPostRequestBody::|public|constructor():void +Microsoft.Graph.Devices.Provision.provisionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Devices.Provision.provisionPostRequestBody::|public|ProvisioningBlob:string +Microsoft.Graph.Devices.Provision.provisionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Devices.Provision.provisionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Devices.Provision.ProvisionPostRequestBody +Microsoft.Graph.Devices.Provision.provisionPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Devices.Provision.provisionRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Devices.Provision.provisionRequestBuilder.provisionRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Devices.Provision.provisionRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Devices.Provision.provisionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Devices.Provision.provisionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Devices.Provision.ProvisionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ProvisionResponse +Microsoft.Graph.Devices.Provision.provisionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Devices.Provision.ProvisionPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Devices.Provision.provisionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Devices.Provision.ProvisionRequestBuilder Microsoft.Graph.Devices.ValidateProperties.validatePropertiesPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Devices.ValidateProperties.validatePropertiesPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Devices.ValidateProperties.validatePropertiesPostRequestBody::|public|constructor():void @@ -22972,6 +22988,13 @@ Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.Refresh.refre Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.Refresh.refreshRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.Refresh.refreshRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.Refresh.refreshRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.Refresh.RefreshRequestBuilder +Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.refreshStatusRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.refreshStatusRequestBuilder.refreshStatusRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.refreshStatusRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.refreshStatusRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.refreshStatusRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RelatedTenantsRefreshStatus +Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.refreshStatusRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.refreshStatusRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.RefreshStatusRequestBuilder Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.relatedTenantsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.relatedTenantsRequestBuilder.relatedTenantsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.relatedTenantsRequestBuilder.relatedTenantsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -22990,6 +23013,7 @@ Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.relatedTenant Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.relatedTenantsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RelatedTenantCollectionResponse Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.relatedTenantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.RelatedTenant; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.RelatedTenant Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.relatedTenantsRequestBuilder::|public|refresh:global.Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.Refresh.RefreshRequestBuilder +Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.relatedTenantsRequestBuilder::|public|refreshStatus:global.Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RefreshStatus.RefreshStatusRequestBuilder Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.relatedTenantsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.relatedTenantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.RelatedTenant; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.relatedTenantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.DirectoryNamespace.TenantGovernance.RelatedTenants.RelatedTenantsRequestBuilder @@ -25267,10 +25291,26 @@ Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.PermissionItemRequestBui Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Drives.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Drives.Item.Items.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Drives.Item.Items.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Drives.Item.Items.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -44372,10 +44412,26 @@ Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.PermissionItemReque Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Drives.Item.List.Items.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -44647,10 +44703,26 @@ Microsoft.Graph.Drives.Item.List.Permissions.Item.PermissionItemRequestBuilder:: Microsoft.Graph.Drives.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Drives.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Drives.Item.List.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Drives.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Drives.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Drives.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Drives.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Drives.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Drives.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Drives.Item.List.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Drives.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Drives.Item.List.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Drives.Item.List.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Drives.Item.List.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -56418,10 +56490,26 @@ Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.Pe Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Items.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -56692,10 +56780,26 @@ Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.PermissionIte Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Groups.Item.Sites.Item.Lists.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -58906,10 +59010,26 @@ Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.PermissionItemRequestBui Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Groups.Item.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Groups.Item.Sites.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Groups.Item.Sites.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Groups.Item.Sites.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -90860,6 +90980,7 @@ Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|password Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Authentication; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Authentication Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|phoneMethods:global.Microsoft.Graph.Me.Authentication.PhoneMethods.PhoneMethodsRequestBuilder Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|platformCredentialMethods:global.Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.PlatformCredentialMethodsRequestBuilder +Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|resourceAccountKeyAuthenticationMethods:global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|softwareOathMethods:global.Microsoft.Graph.Me.Authentication.SoftwareOathMethods.SoftwareOathMethodsRequestBuilder Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|temporaryAccessPassMethods:global.Microsoft.Graph.Me.Authentication.TemporaryAccessPassMethods.TemporaryAccessPassMethodsRequestBuilder Microsoft.Graph.Me.Authentication.authenticationRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -91296,6 +91417,54 @@ Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMe Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlatformCredentialAuthenticationMethodCollectionResponse Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.PlatformCredentialMethods.PlatformCredentialMethodsRequestBuilder +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Device +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder.ResourceAccountKeyAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder.ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder.ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder.ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|device:global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethod +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::[ResourceAccountKeyAuthenticationMethodId:string]:global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethodCollectionResponse +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Me.Authentication.SoftwareOathMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -109097,6 +109266,24 @@ Microsoft.Graph.Models.androidWorkProfileRequiredPasswordType::0004-numericCompl Microsoft.Graph.Models.androidWorkProfileRequiredPasswordType::0005-atLeastAlphabetic Microsoft.Graph.Models.androidWorkProfileRequiredPasswordType::0006-atLeastAlphanumeric Microsoft.Graph.Models.androidWorkProfileRequiredPasswordType::0007-alphanumericWithSymbols +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusyDetail-->global.Microsoft.Graph.Models.M365CapabilityBase +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusyDetail::|public|constructor():void +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusyDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusyDetail::|public|OdataType:string +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusyDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusyDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AnonymousCalendarSharingFreeBusyDetail +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusyReviewer-->global.Microsoft.Graph.Models.M365CapabilityBase +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusyReviewer::|public|constructor():void +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusyReviewer::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusyReviewer::|public|OdataType:string +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusyReviewer::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusyReviewer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AnonymousCalendarSharingFreeBusyReviewer +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusySimple-->global.Microsoft.Graph.Models.M365CapabilityBase +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusySimple::|public|constructor():void +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusySimple::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusySimple::|public|OdataType:string +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusySimple::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.anonymousCalendarSharingFreeBusySimple::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AnonymousCalendarSharingFreeBusySimple Microsoft.Graph.Models.anonymousGuestConversationMember-->global.Microsoft.Graph.Models.ConversationMember Microsoft.Graph.Models.anonymousGuestConversationMember::|public|AnonymousGuestId:string Microsoft.Graph.Models.anonymousGuestConversationMember::|public|constructor():void @@ -110408,6 +110595,7 @@ Microsoft.Graph.Models.authentication::|public|Operations:List Microsoft.Graph.Models.authentication::|public|PhoneMethods:List Microsoft.Graph.Models.authentication::|public|PlatformCredentialMethods:List +Microsoft.Graph.Models.authentication::|public|ResourceAccountKeyAuthenticationMethods:List Microsoft.Graph.Models.authentication::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.authentication::|public|SoftwareOathMethods:List Microsoft.Graph.Models.authentication::|public|TemporaryAccessPassMethods:List @@ -120474,6 +120662,7 @@ Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|con Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|IsDiscoverabilityEnabled:bool? Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|IsItemVersioningEnabled:bool? +Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|IsOfficeRestricted:bool? Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|IsSearchEnabled:bool? Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|IsSharingRestricted:bool? Microsoft.Graph.Models.fileStorageContainerTypeRegistrationSettings::|public|ItemMajorVersionLimit:long? @@ -120491,6 +120680,7 @@ Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|ConsumingTenant Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|IsDiscoverabilityEnabled:bool? Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|IsItemVersioningEnabled:bool? +Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|IsOfficeRestricted:bool? Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|IsSearchEnabled:bool? Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|IsSharingRestricted:bool? Microsoft.Graph.Models.fileStorageContainerTypeSettings::|public|ItemMajorVersionLimit:long? @@ -120507,6 +120697,7 @@ Microsoft.Graph.Models.fileStorageContainerTypeSettingsOverride::0003-isItemVers Microsoft.Graph.Models.fileStorageContainerTypeSettingsOverride::0004-itemMajorVersionLimit Microsoft.Graph.Models.fileStorageContainerTypeSettingsOverride::0005-maxStoragePerContainerInBytes Microsoft.Graph.Models.fileStorageContainerTypeSettingsOverride::0006-unknownFutureValue +Microsoft.Graph.Models.fileStorageContainerTypeSettingsOverride::0007-isOfficeRestricted Microsoft.Graph.Models.fileStorageContainerTypeSettings~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.fileStorageContainerViewpoint::|public|AdditionalData:IDictionary Microsoft.Graph.Models.fileStorageContainerViewpoint::|public|BackingStore:IBackingStore @@ -130740,6 +130931,16 @@ Microsoft.Graph.Models.provisioningSystem::|public|GetFieldDeserializers():IDict Microsoft.Graph.Models.provisioningSystem::|public|OdataType:string Microsoft.Graph.Models.provisioningSystem::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.provisioningSystem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProvisioningSystem +Microsoft.Graph.Models.provisionResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.provisionResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.provisionResponse::|public|Challenge:string +Microsoft.Graph.Models.provisionResponse::|public|constructor():void +Microsoft.Graph.Models.provisionResponse::|public|DeviceId:string +Microsoft.Graph.Models.provisionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.provisionResponse::|public|OdataType:string +Microsoft.Graph.Models.provisionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.provisionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProvisionResponse +Microsoft.Graph.Models.provisionResponse~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.proxiedDomain::|public|AdditionalData:IDictionary Microsoft.Graph.Models.proxiedDomain::|public|BackingStore:IBackingStore Microsoft.Graph.Models.proxiedDomain::|public|constructor():void @@ -131386,6 +131587,17 @@ Microsoft.Graph.Models.relatedTenantsRefreshRequest::|public|Location:string Microsoft.Graph.Models.relatedTenantsRefreshRequest::|public|OdataType:string Microsoft.Graph.Models.relatedTenantsRefreshRequest::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.relatedTenantsRefreshRequest::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.RelatedTenantsRefreshRequest +Microsoft.Graph.Models.relatedTenantsRefreshStatus::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.relatedTenantsRefreshStatus::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.relatedTenantsRefreshStatus::|public|constructor():void +Microsoft.Graph.Models.relatedTenantsRefreshStatus::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.relatedTenantsRefreshStatus::|public|IsFirstRefresh:bool? +Microsoft.Graph.Models.relatedTenantsRefreshStatus::|public|MostRecentRefreshDateTime:DateTimeOffset? +Microsoft.Graph.Models.relatedTenantsRefreshStatus::|public|MostRecentRefreshRequestStatus:string +Microsoft.Graph.Models.relatedTenantsRefreshStatus::|public|OdataType:string +Microsoft.Graph.Models.relatedTenantsRefreshStatus::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.relatedTenantsRefreshStatus::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.RelatedTenantsRefreshStatus +Microsoft.Graph.Models.relatedTenantsRefreshStatus~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.relationshipCreationType::0000-approvedByAdmin Microsoft.Graph.Models.relationshipCreationType::0001-addOnTenant Microsoft.Graph.Models.relationshipCreationType::0002-unknownFutureValue @@ -131673,6 +131885,19 @@ Microsoft.Graph.Models.resourceAccessType::0002-write Microsoft.Graph.Models.resourceAccessType::0003-create Microsoft.Graph.Models.resourceAccessType::0004-unknownFutureValue Microsoft.Graph.Models.resourceAccess~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethod-->global.Microsoft.Graph.Models.AuthenticationMethod +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethod::|public|constructor():void +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethod::|public|Device:global.Microsoft.Graph.Models.Device +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethod::|public|DisplayName:string +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethod::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethod::|public|OdataType:string +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethod +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethodCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethodCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethodCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethodCollectionResponse::|public|Value:List +Microsoft.Graph.Models.resourceAccountKeyAuthenticationMethodCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethodCollectionResponse Microsoft.Graph.Models.resourceAction::|public|AdditionalData:IDictionary Microsoft.Graph.Models.resourceAction::|public|AllowedResourceActions:List Microsoft.Graph.Models.resourceAction::|public|BackingStore:IBackingStore @@ -133646,15 +133871,18 @@ Microsoft.Graph.Models.Security.auditData::|static|public|CreateFromDiscriminato Microsoft.Graph.Models.Security.auditData~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.Security.auditLogQuery-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.Security.auditLogQuery::|public|AdministrativeUnitIdFilters:List +Microsoft.Graph.Models.Security.auditLogQuery::|public|ApproximateReturnedRecordCount:long? Microsoft.Graph.Models.Security.auditLogQuery::|public|DisplayName:string Microsoft.Graph.Models.Security.auditLogQuery::|public|FilterEndDateTime:DateTimeOffset? Microsoft.Graph.Models.Security.auditLogQuery::|public|FilterStartDateTime:DateTimeOffset? Microsoft.Graph.Models.Security.auditLogQuery::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.Security.auditLogQuery::|public|IpAddressFilters:List +Microsoft.Graph.Models.Security.auditLogQuery::|public|IsRecordCountLimitExceeded:bool? Microsoft.Graph.Models.Security.auditLogQuery::|public|KeywordFilter:string Microsoft.Graph.Models.Security.auditLogQuery::|public|ObjectIdFilters:List Microsoft.Graph.Models.Security.auditLogQuery::|public|OdataType:string Microsoft.Graph.Models.Security.auditLogQuery::|public|OperationFilters:List +Microsoft.Graph.Models.Security.auditLogQuery::|public|RecordCountLimit:long? Microsoft.Graph.Models.Security.auditLogQuery::|public|Records:List Microsoft.Graph.Models.Security.auditLogQuery::|public|RecordTypeFilters:List Microsoft.Graph.Models.Security.auditLogQuery::|public|Serialize(writer:ISerializationWriter):void @@ -141375,7 +141603,8 @@ Microsoft.Graph.Models.systemBrowserEnabledOn::0000-none Microsoft.Graph.Models.systemBrowserEnabledOn::0001-ios Microsoft.Graph.Models.systemBrowserEnabledOn::0002-android Microsoft.Graph.Models.systemBrowserEnabledOn::0003-mac -Microsoft.Graph.Models.systemBrowserEnabledOn::0004-unknownFutureValue +Microsoft.Graph.Models.systemBrowserEnabledOn::0004-linux +Microsoft.Graph.Models.systemBrowserEnabledOn::0005-unknownFutureValue Microsoft.Graph.Models.systemFacet::|public|AdditionalData:IDictionary Microsoft.Graph.Models.systemFacet::|public|BackingStore:IBackingStore Microsoft.Graph.Models.systemFacet::|public|constructor():void @@ -166144,10 +166373,26 @@ Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.PermissionItemReque Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Shares.Item.List.Items.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -166418,10 +166663,26 @@ Microsoft.Graph.Shares.Item.List.Permissions.Item.PermissionItemRequestBuilder:: Microsoft.Graph.Shares.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Shares.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Shares.Item.List.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Shares.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Shares.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Shares.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Shares.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Shares.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Shares.Item.List.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Shares.Item.List.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Shares.Item.List.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Shares.Item.List.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Shares.Item.List.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Shares.Item.List.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -166558,10 +166819,26 @@ Microsoft.Graph.Shares.Item.Permission.permissionRequestBuilder::|public|DeleteA Microsoft.Graph.Shares.Item.Permission.permissionRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Shares.Item.Permission.permissionRequestBuilder::|public|grant:global.Microsoft.Graph.Shares.Item.Permission.Grant.GrantRequestBuilder Microsoft.Graph.Shares.Item.Permission.permissionRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Shares.Item.Permission.permissionRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Shares.Item.Permission.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Shares.Item.Permission.permissionRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Shares.Item.Permission.permissionRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Shares.Item.Permission.permissionRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Shares.Item.Permission.permissionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Shares.Item.Permission.PermissionRequestBuilder +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Shares.Item.Permission.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Shares.Item.Permission.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Shares.Item.Permission.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Shares.Item.Permission.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Shares.Item.Permission.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Shares.Item.Root.Content.contentRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Shares.Item.Root.Content.contentRequestBuilder.contentRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Shares.Item.Root.Content.contentRequestBuilder.contentRequestBuilderGetQueryParameters::|public|Format:string @@ -168767,10 +169044,26 @@ Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItem Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Sites.Item.Lists.Item.Items.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -169041,10 +169334,26 @@ Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuil Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Sites.Item.Lists.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Sites.Item.Lists.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Sites.Item.Lists.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Sites.Item.Lists.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -171237,10 +171546,26 @@ Microsoft.Graph.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|publi Microsoft.Graph.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Sites.Item.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Sites.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Sites.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Sites.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Sites.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Sites.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Sites.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -179468,10 +179793,26 @@ Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.PermissionI Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Storage.FileStorage.Containers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -180273,10 +180614,26 @@ Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Perm Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|grant:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.Grant.GrantRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|revokeGrants:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Permission; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.PermissionItemRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|constructor():void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Grantees:List +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder.revokeGrantsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Permission +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.revokeGrantsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.Item.RevokeGrants.RevokeGrantsRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.Permissions.permissionsRequestBuilder.permissionsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -186141,6 +186498,7 @@ Microsoft.Graph.Users.Item.Authentication.authenticationRequestBuilder::|public| Microsoft.Graph.Users.Item.Authentication.authenticationRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Authentication; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Authentication Microsoft.Graph.Users.Item.Authentication.authenticationRequestBuilder::|public|phoneMethods:global.Microsoft.Graph.Users.Item.Authentication.PhoneMethods.PhoneMethodsRequestBuilder Microsoft.Graph.Users.Item.Authentication.authenticationRequestBuilder::|public|platformCredentialMethods:global.Microsoft.Graph.Users.Item.Authentication.PlatformCredentialMethods.PlatformCredentialMethodsRequestBuilder +Microsoft.Graph.Users.Item.Authentication.authenticationRequestBuilder::|public|resourceAccountKeyAuthenticationMethods:global.Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder Microsoft.Graph.Users.Item.Authentication.authenticationRequestBuilder::|public|softwareOathMethods:global.Microsoft.Graph.Users.Item.Authentication.SoftwareOathMethods.SoftwareOathMethodsRequestBuilder Microsoft.Graph.Users.Item.Authentication.authenticationRequestBuilder::|public|temporaryAccessPassMethods:global.Microsoft.Graph.Users.Item.Authentication.TemporaryAccessPassMethods.TemporaryAccessPassMethodsRequestBuilder Microsoft.Graph.Users.Item.Authentication.authenticationRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -186577,6 +186935,54 @@ Microsoft.Graph.Users.Item.Authentication.PlatformCredentialMethods.platformCred Microsoft.Graph.Users.Item.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PlatformCredentialAuthenticationMethodCollectionResponse Microsoft.Graph.Users.Item.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Authentication.PlatformCredentialMethods.platformCredentialMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Authentication.PlatformCredentialMethods.PlatformCredentialMethodsRequestBuilder +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Device +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.deviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder.ResourceAccountKeyAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder.ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder.ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder.ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|device:global.Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethod +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder.resourceAccountKeyAuthenticationMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::[ResourceAccountKeyAuthenticationMethodId:string]:global.Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ResourceAccountKeyAuthenticationMethodCollectionResponse +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.resourceAccountKeyAuthenticationMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder Microsoft.Graph.Users.Item.Authentication.SoftwareOathMethods.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Authentication.SoftwareOathMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Users.Item.Authentication.SoftwareOathMethods.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 29628e0099c..1ebf3e1e914 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "53E801054CBD4182138F48E9F27DC14062C9F8D161860547F888DFAF1BDF790B16B8071B141D72784812A1B1314173FDC97593819F6704A3BA03E2C40C63BF83", + "descriptionHash": "A9530E989C13C922E2FCA0077267CAE51A88CEEA651C30B9CE9B3BE55644A47A780CA02E836341FBB402EAF823DBCC5F973669A1EE4AD7B88005F5D0B74E7FB3", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.35.0", + "kiotaVersion": "1.36.1", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph",