1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-30 05:09:42 +08:00
osu-lazer/osu.Game/Online/API/Requests/Responses/APINewsPost.cs

39 lines
997 B
C#
Raw Normal View History

2020-07-06 10:31:34 +08:00
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Newtonsoft.Json;
using System;
namespace osu.Game.Online.API.Requests.Responses
{
2020-07-06 12:28:44 +08:00
public class APINewsPost
2020-07-06 10:31:34 +08:00
{
2020-07-07 04:53:27 +08:00
[JsonProperty("id")]
2020-07-06 10:31:34 +08:00
public long Id { get; set; }
2020-07-07 04:53:27 +08:00
[JsonProperty("author")]
2020-07-06 10:31:34 +08:00
public string Author { get; set; }
2020-07-07 04:53:27 +08:00
[JsonProperty("edit_url")]
2020-07-06 10:31:34 +08:00
public string EditUrl { get; set; }
2020-07-07 04:53:27 +08:00
[JsonProperty("first_image")]
2020-07-06 10:31:34 +08:00
public string FirstImage { get; set; }
2020-07-07 04:53:27 +08:00
[JsonProperty("published_at")]
2020-07-06 12:27:53 +08:00
public DateTime PublishedAt { get; set; }
2020-07-06 10:31:34 +08:00
2020-07-07 04:53:27 +08:00
[JsonProperty("updated_at")]
2020-07-06 12:27:53 +08:00
public DateTime UpdatedAt { get; set; }
2020-07-06 10:31:34 +08:00
2020-07-07 04:53:27 +08:00
[JsonProperty("slug")]
2020-07-06 10:31:34 +08:00
public string Slug { get; set; }
2020-07-07 04:53:27 +08:00
[JsonProperty("title")]
2020-07-06 10:31:34 +08:00
public string Title { get; set; }
2020-07-07 04:53:27 +08:00
[JsonProperty("preview")]
2020-07-06 10:31:34 +08:00
public string Preview { get; set; }
}
}