class

PutIO::Entry

Inherits JSON::Serializable < Reference < Object

Constructors

new(id : Int64, child_ids : Nil | Array(Int64), content_type : String, crc32 : Nil | String, created_at : Time, extension : Nil | String, file_type : Nil | String, first_accessed_at : Time | Nil, folder_type : String, icon : String, indexed_at : Time, is_hidden : Bool, is_mp4_available : Bool, is_shared : Bool, name : String, opensubtitles_hash : Nil | String, parent_id : Int64, screenshot : Nil | String, size : Int64, start_from : Int64, updated_at : Time)
Source
new(pull : JSON::PullParser)
Source
new(obj : Hash(String, JSON::Any))
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

[](id : Int64)
Source
[]=(id : Int64, entry : self)
Source
[]?(id : Int64)
Source
columns
Source
columns=(columns : Array(String))
Source
entries
Source
entries=(entries : Hash(Int64, self))
Source
known_ids
Source
register(entry : self)
Source

Instance methods

_path
Source
_path=(_path : String | Nil)
Source
child_ids
Source
child_ids=(child_ids : Array(Int64) | Nil)
Source
content_type
Source
content_type=(content_type : String)
Source
crc32
Source
crc32=(crc32 : String | Nil)
Source
created_at
Source
created_at=(created_at : Time)
Source
each_child_id
Source
extension
Source
extension=(extension : String | Nil)
Source
file?
Source
file_type
Source
file_type=(file_type : String | Nil)
Source
first_accessed_at
Source
first_accessed_at=(first_accessed_at : Time | Nil)
Source
folder?
Source
folder_type
Source
folder_type=(folder_type : String)
Source
icon
Source
icon=(icon : String)
Source
id=(id : Int64)
Source
indexed_at
Source
indexed_at=(indexed_at : Time)
Source
is_hidden
Source
is_hidden=(is_hidden : Bool)
Source
is_mp4_available
Source
is_mp4_available=(is_mp4_available : Bool)
Source
is_shared
Source
is_shared=(is_shared : Bool)
Source
name
Source
name=(name : String)
Source
opensubtitles_hash
Source
opensubtitles_hash=(opensubtitles_hash : String | Nil)
Source
parent_id
Source
parent_id=(parent_id : Int64)
Source
path
Source
path?
Source
register_children(ids : Array(Int64))
Source
screenshot
Source
screenshot=(screenshot : String | Nil)
Source
set_path(putio)
Source
set_path?(putio : PutIO)
Source
size
Source
size=(size : Int64)
Source
start_from
Source
start_from=(start_from : Int64)
Source
updated_at
Source
updated_at=(updated_at : Time)
Source

Nested types