Class AttachmentMetadata
Implements
IAdditionalDataHolder
IParsable
Inherited Members
Namespace: Grist4NET.Kiota.Models
Assembly: Grist4NET.Kiota.dll
Syntax
public class AttachmentMetadata : IAdditionalDataHolder, IParsable
Constructors
AttachmentMetadata()
Instantiates a new AttachmentMetadata and sets the default values.
Declaration
public AttachmentMetadata()
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> |
FileName
The fileName property
Declaration
public string FileName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FileSize
The fileSize property
Declaration
public double? FileSize { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
TimeUploaded
The timeUploaded property
Declaration
public string TimeUploaded { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
Declaration
public static AttachmentMetadata 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 |
|---|---|
| AttachmentMetadata |
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