struct PlaceOS::Model::Playlist::ItemsResponse
- PlaceOS::Model::Playlist::ItemsResponse
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
Defined in:
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, default_duration : Int32, valid_from : Int64 | Nil, valid_until : Int64 | Nil, play_hours : String | Nil, play_at : Int64 | Nil, play_cron : String | Nil, **_unknow_types)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #authority_id : String | Nil
- #created_at : Time
- #default_animation : PlaceOS::Model::Playlist::Animation
- #default_duration : Int32
- #description : String
- #enabled : Bool
- #name : String
- #orientation : PlaceOS::Model::Playlist::Orientation
- #play_at : Int64 | Nil
- #play_count : Int64
- #play_cron : String | Nil
- #play_hours : String | Nil
- #play_through_count : Int64
- #random : Bool
- #updated_at : Time
- #valid_from : Int64 | Nil
- #valid_until : Int64 | Nil
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, default_duration : Int32, valid_from : Int64 | Nil, valid_until : Int64 | Nil, play_hours : String | Nil, play_at : Int64 | Nil, play_cron : String | Nil, **_unknow_types)
#