Uwaa/Pleroma/Models/SearchResults.cs

23 lines
552 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; }
}