class PutIO::Entry

Included Modules

Defined in:

put-io-entry.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(obj : Hash(String, JSON::Any)) #

[View source]

Class Method Detail

def self.[](id : Int64) #

[View source]
def self.[]=(id : Int64, entry : self) #

[View source]
def self.[]?(id : Int64) #

[View source]
def self.columns : Array(String) #

[View source]
def self.columns=(columns : Array(String)) #

[View source]
def self.entries : Hash(Int64, self) #

[View source]
def self.entries=(entries : Hash(Int64, self)) #

[View source]
def self.known_ids #

[View source]
def self.register(entry : self) #

[View source]

Instance Method Detail

def _path : String | Nil #

[View source]
def _path=(_path : String | Nil) #

[View source]
def child_ids : Array(Int64) | Nil #

[View source]
def child_ids=(child_ids : Array(Int64) | Nil) #

[View source]
def content_type : String #

[View source]
def content_type=(content_type : String) #

[View source]
def crc32 : String | Nil #

[View source]
def crc32=(crc32 : String | Nil) #

[View source]
def created_at : Time #

[View source]
def created_at=(created_at : Time) #

[View source]
def each_child_id(&) #

[View source]
def extension : String | Nil #

[View source]
def extension=(extension : String | Nil) #

[View source]
def file? #

[View source]
def file_type : String | Nil #

[View source]
def file_type=(file_type : String | Nil) #

[View source]
def first_accessed_at : Time | Nil #

[View source]
def first_accessed_at=(first_accessed_at : Time | Nil) #

[View source]
def folder? #

[View source]
def folder_type : String #

[View source]
def folder_type=(folder_type : String) #

[View source]
def icon : String #

[View source]
def icon=(icon : String) #

[View source]
def id : Int64 #

[View source]
def id=(id : Int64) #

[View source]
def indexed_at : Time #

[View source]
def indexed_at=(indexed_at : Time) #

[View source]
def is_hidden : Bool #

[View source]
def is_hidden=(is_hidden : Bool) #

[View source]
def is_mp4_available : Bool #

[View source]
def is_mp4_available=(is_mp4_available : Bool) #

[View source]
def is_shared : Bool #

[View source]
def is_shared=(is_shared : Bool) #

[View source]
def name #

[View source]
def name=(name : String) #

[View source]
def opensubtitles_hash : String | Nil #

[View source]
def opensubtitles_hash=(opensubtitles_hash : String | Nil) #

[View source]
def parent_id : Int64 #

[View source]
def parent_id=(parent_id : Int64) #

[View source]
def path #

[View source]
def path? : String? #

[View source]
def register_children(ids : Array(Int64)) #

[View source]
def screenshot : String | Nil #

[View source]
def screenshot=(screenshot : String | Nil) #

[View source]
def set_path(putio) #

[View source]
def set_path?(putio : PutIO) #

[View source]
def size : Int64 #

[View source]
def size=(size : Int64) #

[View source]
def start_from : Int64 #

[View source]
def start_from=(start_from : Int64) #

[View source]
def updated_at : Time #

[View source]
def updated_at=(updated_at : Time) #

[View source]