Grist4NET
Search Results for

    Show / Hide Table of Contents

    Class WithUserItemRequestBuilder

    Builds and executes requests for operations under \users{userId}

    Inheritance
    object
    BaseRequestBuilder
    WithUserItemRequestBuilder
    Inherited Members
    BaseRequestBuilder.PathParameters
    BaseRequestBuilder.RequestAdapter
    BaseRequestBuilder.UrlTemplate
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Grist4NET.Kiota.Users.Item
    Assembly: Grist4NET.Kiota.dll
    Syntax
    public class WithUserItemRequestBuilder : BaseRequestBuilder

    Constructors

    WithUserItemRequestBuilder(Dictionary<string, object>, IRequestAdapter)

    Instantiates a new WithUserItemRequestBuilder and sets the default values.

    Declaration
    public WithUserItemRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)
    Parameters
    Type Name Description
    Dictionary<string, object> pathParameters

    Path parameters for the request

    IRequestAdapter requestAdapter

    The request adapter to use to execute the requests.

    WithUserItemRequestBuilder(string, IRequestAdapter)

    Instantiates a new WithUserItemRequestBuilder and sets the default values.

    Declaration
    public WithUserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
    Parameters
    Type Name Description
    string rawUrl

    The raw URL to use for the request builder.

    IRequestAdapter requestAdapter

    The request adapter to use to execute the requests.

    Properties

    Disable

    The disable property

    Declaration
    public DisableRequestBuilder Disable { get; }
    Property Value
    Type Description
    DisableRequestBuilder

    Enable

    The enable property

    Declaration
    public EnableRequestBuilder Enable { get; }
    Property Value
    Type Description
    EnableRequestBuilder

    Methods

    DeleteAsync(WithUserDeleteRequestBody, Action<RequestConfiguration<DefaultQueryParameters>>, CancellationToken)

    This action also deletes the user's personal organisation and all the workspaces and documents it contains.Currently, only the users themselves are allowed to delete their own accounts.⚠️ This action cannot be undone, please be cautious when using this endpoint ⚠️

    Declaration
    public Task<Stream> DeleteAsync(WithUserDeleteRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    WithUserDeleteRequestBody body

    The request body

    Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration

    Configuration for the request such as headers, query parameters, and middleware options.

    CancellationToken cancellationToken

    Cancellation token to use when cancelling requests

    Returns
    Type Description
    Task<Stream>

    A Stream

    ToDeleteRequestInformation(WithUserDeleteRequestBody, Action<RequestConfiguration<DefaultQueryParameters>>)

    This action also deletes the user's personal organisation and all the workspaces and documents it contains.Currently, only the users themselves are allowed to delete their own accounts.⚠️ This action cannot be undone, please be cautious when using this endpoint ⚠️

    Declaration
    public RequestInformation ToDeleteRequestInformation(WithUserDeleteRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = null)
    Parameters
    Type Name Description
    WithUserDeleteRequestBody body

    The request body

    Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration

    Configuration for the request such as headers, query parameters, and middleware options.

    Returns
    Type Description
    RequestInformation

    A Microsoft.Kiota.Abstractions.RequestInformation

    WithUrl(string)

    Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.

    Declaration
    public WithUserItemRequestBuilder WithUrl(string rawUrl)
    Parameters
    Type Name Description
    string rawUrl

    The raw URL to use for the request builder.

    Returns
    Type Description
    WithUserItemRequestBuilder

    A WithUserItemRequestBuilder

    In this article
    Back to top Generated by DocFX