1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 23:57:25 +08:00

Remove string prefixes

This commit is contained in:
Andrei Zavatski 2020-07-06 23:53:27 +03:00
parent 040b2a5aa8
commit 9dde101f12

View File

@ -8,31 +8,31 @@ namespace osu.Game.Online.API.Requests.Responses
{ {
public class APINewsPost public class APINewsPost
{ {
[JsonProperty(@"id")] [JsonProperty("id")]
public long Id { get; set; } public long Id { get; set; }
[JsonProperty(@"author")] [JsonProperty("author")]
public string Author { get; set; } public string Author { get; set; }
[JsonProperty(@"edit_url")] [JsonProperty("edit_url")]
public string EditUrl { get; set; } public string EditUrl { get; set; }
[JsonProperty(@"first_image")] [JsonProperty("first_image")]
public string FirstImage { get; set; } public string FirstImage { get; set; }
[JsonProperty(@"published_at")] [JsonProperty("published_at")]
public DateTime PublishedAt { get; set; } public DateTime PublishedAt { get; set; }
[JsonProperty(@"updated_at")] [JsonProperty("updated_at")]
public DateTime UpdatedAt { get; set; } public DateTime UpdatedAt { get; set; }
[JsonProperty(@"slug")] [JsonProperty("slug")]
public string Slug { get; set; } public string Slug { get; set; }
[JsonProperty(@"title")] [JsonProperty("title")]
public string Title { get; set; } public string Title { get; set; }
[JsonProperty(@"preview")] [JsonProperty("preview")]
public string Preview { get; set; } public string Preview { get; set; }
} }
} }