Class S3ObjectMetadata
Inheritance
S3ObjectMetadata
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
public class S3ObjectMetadata : IUploadedFile, IAIResource, IData, IHasId<string>, IHasName, IDeprecatable
Properties
|
Edit this page
View Source
Declaration
[JsonIgnore]
public Api Api { get; }
Property Value
|
Edit this page
View Source
Gets the file size in bytes.
This value is useful for validating upload/download limits and storage usage.
Declaration
[JsonIgnore]
public int ByteSize { get; }
Property Value
|
Edit this page
View Source
Checksum algorithm used (if any).
Declaration
public List<string> ChecksumAlgorithm { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public string ChecksumType { get; set; }
Property Value
|
Edit this page
View Source
Declaration
[JsonIgnore]
public UnixTime? CreatedAt { get; }
Property Value
|
Edit this page
View Source
Declaration
public string ETag { get; set; }
Property Value
|
Edit this page
View Source
Gets the file expiration timestamp, if the provider defines one.
Returns null when the file has no expiration policy.
Declaration
[JsonIgnore]
public UnixTime? ExpiresAt { get; }
Property Value
|
Edit this page
View Source
Declaration
[JsonIgnore]
public string Id { get; }
Property Value
|
Edit this page
View Source
Declaration
public string Key { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public DateTime LastModified { get; set; }
Property Value
|
Edit this page
View Source
Gets the MIME type associated with the file.
This can be used to select preview, parsing, or processing paths.
Declaration
[JsonIgnore]
public MimeType MimeType { get; }
Property Value
|
Edit this page
View Source
Gets the name of this object.
Declaration
[JsonIgnore]
public string Name { get; }
Property Value
|
Edit this page
View Source
Owner information (if FetchOwner was true).
Declaration
public S3Owner Owner { get; set; }
Property Value
|
Edit this page
View Source
Restore status (if OptionalObjectAttributes included RestoreStatus).
Declaration
public RestoreStatus RestoreStatus { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public long Size { get; set; }
Property Value
|
Edit this page
View Source
Storage class (e.g., STANDARD, REDUCED_REDUNDANCY, GLACIER).
Declaration
public string StorageClass { get; set; }
Property Value
Methods
|
Edit this page
View Source
Declaration
public SerializableMetadata GetMetadata()
Returns
Implements
Extension Methods