struct

NATS::Objects::Client::ObjectInfo

Inherits JSON::Serializable / Struct / Value / Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, bucket : String, name : String, description : Nil | String, headers : HTTP::Headers | Nil, nuid : String, size : Int64, chunks : Int32, digest : Nil | String, mtime : Time = Time.new(0, 0), deleted : Bool | Nil = nil)
Source

Instance methods

bucket
Source
chunks
Source
delete
Source
deleted
Source
description
Source
digest
Source
digest!
Source
headers
Source
mtime

TODO: Don't store this, it should be set via the message timestamp

Source
mtime=(mtime : Time)

TODO: Don't store this, it should be set via the message timestamp

Source
name
Source
nuid
Source
size
Source