File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ public enum SourceTrackPlayAppType
1010 Unknown = 0 ,
1111 iOS ,
1212 Web ,
13- Sonos
13+ Sonos ,
14+ Android
1415 }
1516
1617 public static class SourceTrackPlayAppTypeHelper
@@ -28,6 +29,9 @@ public static SourceTrackPlayAppType FromString(string str)
2829 case "web" :
2930 return SourceTrackPlayAppType . Web ;
3031
32+ case "android" :
33+ return SourceTrackPlayAppType . Android ;
34+
3135 default :
3236 return SourceTrackPlayAppType . Unknown ;
3337 }
@@ -36,15 +40,20 @@ public static SourceTrackPlayAppType FromString(string str)
3640
3741 public class SourceTrackPlay
3842 {
39- [ Required ] public int id { get ; set ; }
43+ [ Required ]
44+ public int id { get ; set ; }
4045
41- [ Required ] public DateTime created_at { get ; set ; }
46+ [ Required ]
47+ public DateTime created_at { get ; set ; }
4248
43- [ Required ] public Guid source_track_uuid { get ; set ; }
49+ [ Required ]
50+ public Guid source_track_uuid { get ; set ; }
4451
45- [ Required ] public Guid ? user_uuid { get ; set ; } = null ;
52+ [ Required ]
53+ public Guid ? user_uuid { get ; set ; } = null ;
4654
47- [ Required ] public SourceTrackPlayAppType app_type { get ; set ; }
55+ [ Required ]
56+ public SourceTrackPlayAppType app_type { get ; set ; }
4857
4958 [ Required ]
5059 [ JsonConverter ( typeof ( StringEnumConverter ) ) ]
You can’t perform that action at this time.
0 commit comments