Mixonomer.NET/Mixonomer.Fire/Model/Playlist.cs

85 lines
2.3 KiB
C#
Raw Normal View History

2022-08-03 22:51:39 +01:00
using System;
using System.Collections.Generic;
using Google.Cloud.Firestore;
namespace Mixonomer.Fire;
[FirestoreData]
public class Playlist
2022-08-03 22:51:39 +01:00
{
[FirestoreProperty]
public string uri { get; set; }
[FirestoreProperty]
public string name { get; set; }
[FirestoreProperty]
public string type { get; set; }
[FirestoreProperty]
public bool include_recommendations { get; set; }
[FirestoreProperty]
public int recommendation_sample { get; set; }
[FirestoreProperty]
public bool include_library_tracks { get; set; }
[FirestoreProperty]
public IEnumerable<string> parts { get; set; }
[FirestoreProperty]
public IEnumerable<DocumentReference> playlist_references { get; set; }
[FirestoreProperty]
public bool shuffle { get; set; }
[FirestoreProperty]
public string sort { get; set; }
[FirestoreProperty]
public string description_overwrite { get; set; }
[FirestoreProperty]
public string description_suffix { get; set; }
[FirestoreProperty]
public DateTime last_updated { get; set; }
[FirestoreProperty]
public int lastfm_stat_count { get; set; }
[FirestoreProperty]
public int lastfm_stat_album_count { get; set; }
[FirestoreProperty]
public int lastfm_stat_artist_count { get; set; }
[FirestoreProperty]
public double lastfm_stat_percent { get; set; }
[FirestoreProperty]
public double lastfm_stat_album_percent { get; set; }
[FirestoreProperty]
public double lastfm_stat_artist_percent { get; set; }
[FirestoreProperty]
public DateTime lastfm_stat_last_refresh { get; set; }
[FirestoreProperty]
public bool add_last_month { get; set; }
[FirestoreProperty]
public bool add_this_month { get; set; }
[FirestoreProperty]
public int day_boundary { get; set; }
[FirestoreProperty]
public bool include_spotify_owned { get; set; }
[FirestoreProperty]
public string chart_range { get; set; }
[FirestoreProperty]
public int chart_limit { get; set; }
[FirestoreDocumentId]
public DocumentReference Reference { get; set; }
[FirestoreDocumentCreateTimestamp]
public Timestamp CreateTime { get; set; }
[FirestoreDocumentUpdateTimestamp]
public Timestamp UpdateTime { get; set; }
[FirestoreDocumentReadTimestamp]
public Timestamp ReadTime { get; set; }
2022-08-03 22:51:39 +01:00
}