Skip to content

Commit

Permalink
etag is no longer optional, lastModified is
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxcapades committed May 19, 2022
1 parent 8d4daa4 commit 25f1694
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "org.veupathdb.lib.s3"
version = "0.5.0"
version = "0.6.0"

java {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down
15 changes: 13 additions & 2 deletions src/main/kotlin/org/veupathdb/lib/s3/s34k/objects/S3Object.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,21 @@ import java.time.OffsetDateTime
// TODO: Document me
interface S3Object : ObjectResponse {

val lastModified: OffsetDateTime
/**
* Object last modified/created timestamp.
*
* This value will not be present on responses from object puts.
*/
val lastModified: OffsetDateTime?

val eTag: String?
/**
* Object ETag value.
*/
val eTag: String

/**
* Object tag management container.
*/
val tags: ObjectTagContainer

// region Exists
Expand Down

0 comments on commit 25f1694

Please sign in to comment.