Uwaa/Pleroma/Models/SearchResults.cs

28 lines
618 B
C#
Raw Normal View History

2024-12-13 13:25:20 +01:00
namespace Uwaa.Pleroma;
2024-12-11 03:49:46 +01:00
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; }
2024-12-26 00:09:26 +01:00
2024-12-26 00:34:13 +01:00
[JsonConstructor()]
2024-12-26 00:09:26 +01:00
internal SearchResults()
{
}
2024-12-11 03:49:46 +01:00
}