Grist4NET
Search Results for

    Show / Hide Table of Contents

    Class ProposalsRequestBuilder

    Builds and executes requests for operations under \docs{docId}\proposals

    Inheritance
    object
    BaseRequestBuilder
    ProposalsRequestBuilder
    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.Docs.Item.Proposals
    Assembly: Grist4NET.Kiota.dll
    Syntax
    public class ProposalsRequestBuilder : BaseRequestBuilder

    Constructors

    ProposalsRequestBuilder(Dictionary<string, object>, IRequestAdapter)

    Instantiates a new ProposalsRequestBuilder and sets the default values.

    Declaration
    public ProposalsRequestBuilder(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.

    ProposalsRequestBuilder(string, IRequestAdapter)

    Instantiates a new ProposalsRequestBuilder and sets the default values.

    Declaration
    public ProposalsRequestBuilder(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

    this[int]

    Gets an item from the Grist4NET.Kiota.docs.item.proposals.item collection

    Declaration
    public WithProposalItemRequestBuilder this[int position] { get; }
    Parameters
    Type Name Description
    int position

    ID of the proposal to apply

    Property Value
    Type Description
    WithProposalItemRequestBuilder

    A WithProposalItemRequestBuilder

    Methods

    GetAsync(Action<RequestConfiguration<ProposalsRequestBuilderGetQueryParameters>>, CancellationToken)

    List proposals associated with a document. Proposals are suggested changesfrom forks that can be reviewed and applied to the trunk document.

    Declaration
    public Task<ProposalsGetResponse> GetAsync(Action<RequestConfiguration<ProposalsRequestBuilder.ProposalsRequestBuilderGetQueryParameters>> requestConfiguration = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    Action<RequestConfiguration<ProposalsRequestBuilder.ProposalsRequestBuilderGetQueryParameters>> 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<ProposalsGetResponse>

    A ProposalsGetResponse

    ToGetRequestInformation(Action<RequestConfiguration<ProposalsRequestBuilderGetQueryParameters>>)

    List proposals associated with a document. Proposals are suggested changesfrom forks that can be reviewed and applied to the trunk document.

    Declaration
    public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<ProposalsRequestBuilder.ProposalsRequestBuilderGetQueryParameters>> requestConfiguration = null)
    Parameters
    Type Name Description
    Action<RequestConfiguration<ProposalsRequestBuilder.ProposalsRequestBuilderGetQueryParameters>> 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 ProposalsRequestBuilder WithUrl(string rawUrl)
    Parameters
    Type Name Description
    string rawUrl

    The raw URL to use for the request builder.

    Returns
    Type Description
    ProposalsRequestBuilder

    A ProposalsRequestBuilder

    In this article
    Back to top Generated by DocFX