27 lines
618 B
C#
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()
|
|
{
|
|
}
|
|
}
|