Class FileDetails
- Namespace
- PommaLabs.Thumbnailer.Client.Core
- Assembly
- PommaLabs.Thumbnailer.Client.dll
Represents a file which will be exchanged via API.
public class FileDetails
- Inheritance
-
FileDetails
- Inherited Members
Properties
ContentType
File content type (e.g. "image/png").
[JsonProperty("contentType", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string ContentType { get; set; }
Property Value
Contents
File contents, which the client will send/receive as a Base64 encoded string.
[JsonProperty("contents", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public byte[] Contents { get; set; }
Property Value
- byte[]
FileName
File name (e.g. "image.png").
[JsonProperty("fileName", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string FileName { get; set; }
Property Value
ImagePlaceholder
A very compact representation of a placeholder for an image, if requested and available.
[JsonProperty("imagePlaceholder", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string ImagePlaceholder { get; set; }