using System.Runtime.Serialization;
namespace Amazon.Lambda.CloudWatchEvents.S3Events
{
///
/// This class represents an S3 object.
///
[DataContract]
public class S3Object
{
///
/// The key for the object stored in S3.
///
[DataMember(Name = "key")]
public string Key { get; set; }
///
/// The size of the object.
///
[DataMember(Name = "size")]
public long Size { get; set; }
///
/// The etag of the object.
///
[DataMember(Name = "etag")]
public string ETag { get; set; }
///
/// The version ID of the object.
///
[DataMember(Name = "version-id")]
#if NETCOREAPP_3_1
[System.Text.Json.Serialization.JsonPropertyName("version-id")]
#endif
public string VersionId { get; set; }
///
/// A string used to determine event sequence in PUTs and DELETEs.
///
[DataMember(Name = "sequencer")]
public string Sequencer { get; set; }
}
}