1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-24 03:27:24 +08:00
osu-lazer/osu.Game/Online/API/Requests/Responses/NewsPost.cs

39 lines
1003 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
{
public class NewsPost
{
[JsonProperty(@"id")]
public long Id { get; set; }
[JsonProperty(@"author")]
public string Author { get; set; }
[JsonProperty(@"edit_url")]
public string EditUrl { get; set; }
[JsonProperty(@"first_image")]
public string FirstImage { get; set; }
[JsonProperty(@"published_at")]
2020-07-06 12:27:53 +08:00
public DateTime PublishedAt { get; set; }
2020-07-06 10:31:34 +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
[JsonProperty(@"slug")]
public string Slug { get; set; }
[JsonProperty(@"title")]
public string Title { get; set; }
[JsonProperty(@"preview")]
public string Preview { get; set; }
}
}