Fix Warnings
Test Rlz
This commit is contained in:
@@ -12,62 +12,62 @@ namespace LaDOSE.Business.Provider.SmashProvider
|
||||
public int totalPages { get; set; }
|
||||
public int page { get; set; }
|
||||
public int perPage { get; set; }
|
||||
public string sortBy { get; set; }
|
||||
public string filter { get; set; }
|
||||
public string? sortBy { get; set; }
|
||||
public string? filter { get; set; }
|
||||
}
|
||||
|
||||
public class TournamentType
|
||||
{
|
||||
public int id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
[JsonConverter(typeof(UnixDateTimeConverter))]
|
||||
public DateTime startAt { get; set; }
|
||||
public List<EventType> Events { get; set; }
|
||||
public List<EventType>? Events { get; set; }
|
||||
|
||||
}
|
||||
public class VideoGameType
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string? Name { get; set; }
|
||||
}
|
||||
public class ScoreType
|
||||
{
|
||||
public string label { get; set; }
|
||||
public string? label { get; set; }
|
||||
public int? value { get; set; }
|
||||
public string displayValue { get; set; }
|
||||
public string? displayValue { get; set; }
|
||||
|
||||
}
|
||||
public class StatType
|
||||
{
|
||||
public ScoreType score { get; set; }
|
||||
public ScoreType? score { get; set; }
|
||||
}
|
||||
|
||||
public class StandingType
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string? id { get; set; }
|
||||
|
||||
public int placement { get; set; }
|
||||
|
||||
public ParticipantType player { get; set; }
|
||||
public ParticipantType? player { get; set; }
|
||||
|
||||
public StatType stats { get; set; }
|
||||
public StatType? stats { get; set; }
|
||||
|
||||
public EntrantType entrant { get; set; }
|
||||
public EntrantType? entrant { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class ParticipantType
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string gamerTag { get; set; }
|
||||
public string? gamerTag { get; set; }
|
||||
public UserType? user { get; set; }
|
||||
}
|
||||
public class UserType
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string name { get; set; }
|
||||
public string? name { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -75,48 +75,48 @@ namespace LaDOSE.Business.Provider.SmashProvider
|
||||
{
|
||||
public int id { get; set; }
|
||||
|
||||
public string name { get; set; }
|
||||
public string state { get; set; }
|
||||
public string? name { get; set; }
|
||||
public string? state { get; set; }
|
||||
|
||||
public VideoGameType videogame { get; set; }
|
||||
public Node<StandingType> standings { get; set; }
|
||||
public Node<SetType> sets { get; set; }
|
||||
public VideoGameType? videogame { get; set; }
|
||||
public Node<StandingType>? standings { get; set; }
|
||||
public Node<SetType>? sets { get; set; }
|
||||
|
||||
public Node<EntrantType> entrants { get; set; }
|
||||
public Node<EntrantType>? entrants { get; set; }
|
||||
}
|
||||
|
||||
public class EntrantType
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string name { get; set; }
|
||||
public string? name { get; set; }
|
||||
public bool? isDisqualified { get; set; }
|
||||
public List<ParticipantType> participants { get; set; }
|
||||
public List<ParticipantType>? participants { get; set; }
|
||||
|
||||
}
|
||||
public class SlotType
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string? id { get; set; }
|
||||
public int slotIndex { get; set; }
|
||||
|
||||
public StandingType standing { get; set; }
|
||||
public StandingType? standing { get; set; }
|
||||
|
||||
public EntrantType entrant { get; set; }
|
||||
public EntrantType? entrant { get; set; }
|
||||
|
||||
}
|
||||
public class SetType
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string? id { get; set; }
|
||||
public int? lPlacement { get; set; }
|
||||
public int? wPlacement { get; set; }
|
||||
public int? round { get; set; }
|
||||
public List<SlotType> slots { get; set; }
|
||||
public string identifier { get; set; }
|
||||
public List<SlotType>? slots { get; set; }
|
||||
public string? identifier { get; set; }
|
||||
|
||||
}
|
||||
public class Node<T>
|
||||
{
|
||||
public PageInfoType pageInfo { get; set; }
|
||||
public List<T> nodes { get; set; }
|
||||
public PageInfoType? pageInfo { get; set; }
|
||||
public List<T>? nodes { get; set; }
|
||||
|
||||
}
|
||||
|
||||
@@ -125,18 +125,18 @@ namespace LaDOSE.Business.Provider.SmashProvider
|
||||
|
||||
public class TournamentResponse
|
||||
{
|
||||
public TournamentType Tournament { get; set; }
|
||||
public TournamentType? Tournament { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class EventResponse
|
||||
{
|
||||
public EventType Event { get; set; }
|
||||
public EventType? Event { get; set; }
|
||||
|
||||
}
|
||||
public class SetsResponse
|
||||
{
|
||||
public EventType Event { get; set; }
|
||||
public EventType? Event { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user