mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 18:28:27 -04:00
- Removed GuildConfigs repository, moved to extensions - Moved StreamSettings extension to GuildConfig extensions - namespace NadekoBot.Core has been simplified to NadekoBot in many places (more to come) - Replaced some raw delete queries with simple linqtodb queries
43 lines
789 B
C#
43 lines
789 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
|
|
namespace NadekoBot.Modules.Searches.Common
|
|
{
|
|
|
|
public class Account
|
|
{
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
|
|
[JsonProperty("league")]
|
|
public string League { get; set; }
|
|
|
|
[JsonProperty("classId")]
|
|
public int ClassId { get; set; }
|
|
|
|
[JsonProperty("ascendancyClass")]
|
|
public int AscendancyClass { get; set; }
|
|
|
|
[JsonProperty("class")]
|
|
public string Class { get; set; }
|
|
|
|
[JsonProperty("level")]
|
|
public int Level { get; set; }
|
|
}
|
|
|
|
public class Leagues
|
|
{
|
|
[JsonProperty("id")]
|
|
public string Id { get; set; }
|
|
|
|
[JsonProperty("url")]
|
|
public string Url { get; set; }
|
|
|
|
[JsonProperty("startAt")]
|
|
public DateTime StartAt { get; set; }
|
|
|
|
[JsonProperty("endAt")]
|
|
public object EndAt { get; set; }
|
|
}
|
|
}
|