diff options
Diffstat (limited to 'client/model.go')
-rw-r--r-- | client/model.go | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/client/model.go b/client/model.go index 57b03d6e..69f2c227 100644 --- a/client/model.go +++ b/client/model.go @@ -242,12 +242,17 @@ type Entries []*Entry // Enclosure represents an attachment. type Enclosure struct { - ID int64 `json:"id"` - UserID int64 `json:"user_id"` - EntryID int64 `json:"entry_id"` - URL string `json:"url"` - MimeType string `json:"mime_type"` - Size int `json:"size"` + ID int64 `json:"id"` + UserID int64 `json:"user_id"` + EntryID int64 `json:"entry_id"` + URL string `json:"url"` + MimeType string `json:"mime_type"` + Size int `json:"size"` + MediaProgression int64 `json:"media_progression"` +} + +type EnclosureUpdateRequest struct { + MediaProgression int64 `json:"media_progression"` } // Enclosures represents a list of attachments. |