PlaceOS::Model::Playlist::ItemsResponse
Inherits YAML::Serializable < JSON::Serializable::Unmapped < JSON::Serializable < Struct < Value < Object
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).
Constructors
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)
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance methods
authority_id
created_at
default_animation
default_duration
description
distribution
enabled
name
orientation
play_count
play_through_count
random
schedules
updated_at
valid_from
valid_until