add pinned property in comment

This commit is contained in:
Gagah Pangeran Rosfatiputra
2021-08-08 17:20:46 +07:00
parent 80d06a7e37
commit 0901333ef3

View File

@ -58,6 +58,9 @@ namespace osu.Game.Online.API.Requests.Responses
[JsonProperty(@"edited_by_id")]
public long? EditedById { get; set; }
[JsonProperty(@"pinned")]
public bool Pinned { get; set; }
public User EditedUser { get; set; }
public bool IsTopLevel => !ParentId.HasValue;