Grist4NET
Search Results for

    Show / Hide Table of Contents

    Class DocsPostRequestBody

    Inheritance
    object
    DocsPostRequestBody
    Implements
    IAdditionalDataHolder
    IParsable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Grist4NET.Kiota.Docs
    Assembly: Grist4NET.Kiota.dll
    Syntax
    public class DocsPostRequestBody : IAdditionalDataHolder, IParsable

    Constructors

    DocsPostRequestBody()

    Instantiates a new DocsPostRequestBody and sets the default values.

    Declaration
    public DocsPostRequestBody()

    Properties

    AdditionalData

    Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

    Declaration
    public IDictionary<string, object> AdditionalData { get; set; }
    Property Value
    Type Description
    IDictionary<string, object>

    AsTemplate

    When copying, if true, copy structure only without data

    Declaration
    public bool? AsTemplate { get; set; }
    Property Value
    Type Description
    bool?

    DocumentName

    Name for the new document (required when copying)

    Declaration
    public string DocumentName { get; set; }
    Property Value
    Type Description
    string

    SourceDocumentId

    ID of document to copy from. Requires workspaceId and documentName.

    Declaration
    public string SourceDocumentId { get; set; }
    Property Value
    Type Description
    string

    Timezone

    Timezone for the document

    Declaration
    public string Timezone { get; set; }
    Property Value
    Type Description
    string

    WorkspaceId

    The workspace to save the document in. If omitted, creates an unsaved document.

    Declaration
    public int? WorkspaceId { get; set; }
    Property Value
    Type Description
    int?

    Methods

    CreateFromDiscriminatorValue(IParseNode)

    Creates a new instance of the appropriate class based on discriminator value

    Declaration
    public static DocsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
    Parameters
    Type Name Description
    IParseNode parseNode

    The parse node to use to read the discriminator value and create the object

    Returns
    Type Description
    DocsPostRequestBody

    A DocsPostRequestBody

    GetFieldDeserializers()

    The deserialization information for the current model

    Declaration
    public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
    Returns
    Type Description
    IDictionary<string, Action<IParseNode>>

    A IDictionary<string, Action<IParseNode>>

    Serialize(ISerializationWriter)

    Serializes information the current object

    Declaration
    public virtual void Serialize(ISerializationWriter writer)
    Parameters
    Type Name Description
    ISerializationWriter writer

    Serialization writer to use to serialize this model

    Implements

    Microsoft.Kiota.Abstractions.Serialization.IAdditionalDataHolder
    Microsoft.Kiota.Abstractions.Serialization.IParsable
    In this article
    Back to top Generated by DocFX