Обнновлено до .net10

This commit is contained in:
FrigaT
2026-04-10 15:05:32 +03:00
parent 11d0b0d72f
commit 8444fc5f8e
386 changed files with 6361 additions and 7164 deletions

View File

@@ -1,16 +1,16 @@
using System.Text.Json.Serialization;
using YandexMusic.API.Models.Radio.Restriction;
namespace YandexMusic.API.Models.Radio
namespace YandexMusic.API.Models.Radio;
public class YStationRestrictions
{
public class YStationRestrictions
{
[JsonConverter(typeof(YRestrictionConverter))]
public YRestriction Diversity { get; set; }
[JsonConverter(typeof(YRestrictionConverter))]
public YRestriction Energy { get; set; }
[JsonConverter(typeof(YRestrictionConverter))]
public YRestriction Language { get; set; }
[JsonConverter(typeof(YRestrictionConverter))]
public YRestriction Mood { get; set; }
}
[JsonConverter(typeof(YRestrictionConverter))]
public YRestriction Diversity { get; set; }
[JsonConverter(typeof(YRestrictionConverter))]
public YRestriction Energy { get; set; }
[JsonConverter(typeof(YRestrictionConverter))]
public YRestriction Language { get; set; }
[JsonConverter(typeof(YRestrictionConverter))]
public YRestriction Mood { get; set; }
}