Class CopyPostRequestBody
Implements
IAdditionalDataHolder
IParsable
Inherited Members
Namespace: Grist4NET.Kiota.Docs.Item.Copy
Assembly: Grist4NET.Kiota.dll
Syntax
public class CopyPostRequestBody : IAdditionalDataHolder, IParsable
Constructors
CopyPostRequestBody()
Instantiates a new CopyPostRequestBody and sets the default values.
Declaration
public CopyPostRequestBody()
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
Remove all data and history but keep the structure to use the document as a template
Declaration
public bool? AsTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
DocumentName
The documentName property
Declaration
public string DocumentName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WorkspaceId
The workspaceId property
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 CopyPostRequestBody 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 |
|---|---|
| CopyPostRequestBody |
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