Class S3Object
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public class S3Object : IUploadedFile, IAIResource, IData, IHasId<string>, IHasName, IDeprecatable
Properties
|
Edit this page
View Source
Api
Declaration
Property Value
|
Edit this page
View Source
Body
Declaration
public byte[] Body { get; set; }
Property Value
|
Edit this page
View Source
ByteSize
Gets the file size in bytes.
This value is useful for validating upload/download limits and storage usage.
Declaration
public int ByteSize { get; set; }
Property Value
|
Edit this page
View Source
CreatedAt
Declaration
public UnixTime? CreatedAt { get; set; }
Property Value
|
Edit this page
View Source
ExpiresAt
Gets the file expiration timestamp, if the provider defines one.
Returns null when the file has no expiration policy.
Declaration
public UnixTime? ExpiresAt { get; set; }
Property Value
|
Edit this page
View Source
Id
Declaration
public string Id { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public Dictionary<string, string> Metadata { get; set; }
Property Value
|
Edit this page
View Source
MimeType
Gets the MIME type associated with the file.
This can be used to select preview, parsing, or processing paths.
Declaration
public MimeType MimeType { get; set; }
Property Value
|
Edit this page
View Source
Name
Gets the name of this object.
Declaration
public string Name { get; set; }
Property Value
Methods
|
Edit this page
View Source
Create(string, string, byte[], Dictionary<string, string>)
Declaration
public static S3Object Create(string key, string name, byte[] binaryData, Dictionary<string, string> responseHeaders)
Parameters
Returns
|
Edit this page
View Source
Declaration
public SerializableMetadata GetMetadata()
Returns
Implements
Extension Methods