struct PlaceOS::Model::Playlist::ItemsResponse

Overview

forward declare so this file can be required before playlist.cr finishes defining the parent class (the attribute schedules : Array(Playlist::Schedule) line needs Schedule resolved at macro-expansion time).

Included Modules

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new(created_at : Time, updated_at : Time, name : String, description : String, authority_id : String | Nil, orientation : PlaceOS::Model::Playlist::Orientation, play_count : Int64, play_through_count : Int64, default_animation : PlaceOS::Model::Playlist::Animation, random : Bool, enabled : Bool, distribution : Bool, default_duration : Int32, valid_from : Int64 | Nil, valid_until : Int64 | Nil, schedules : Array(PlaceOS::Model::Playlist::Schedule), **_unknown_types) #

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def authority_id : String | Nil #

def created_at : Time #

def default_animation : PlaceOS::Model::Playlist::Animation #

def default_duration : Int32 #

def description : String #

def distribution : Bool #

def enabled : Bool #

def name : String #


def play_count : Int64 #

def play_through_count : Int64 #

def random : Bool #

def schedules : Array(PlaceOS::Model::Playlist::Schedule) #

def updated_at : Time #

def valid_from : Int64 | Nil #

def valid_until : Int64 | Nil #