Uwaa/Pleroma/Models/SearchResults.cs
2024-12-25 23:34:13 +00:00

27 lines
618 B
C#

namespace Uwaa.Pleroma;
public class SearchResults
{
/// <summary>
/// Accounts which match the search query.
/// </summary>
[JsonPropertyName("accounts")]
public Account[]? Accounts { get; set; }
/// <summary>
/// Hashtags which match the search query.
/// </summary>
[JsonPropertyName("hashtags")]
public Hashtag[]? Hashtags { get; set; }
/// <summary>
/// Statuses which match the search query.
/// </summary>
[JsonPropertyName("statuses")]
public Status[]? Statuses { get; set; }
[JsonConstructor()]
internal SearchResults()
{
}
}