18 lines
No EOL
429 B
C#
18 lines
No EOL
429 B
C#
namespace Uwaa.Pleroma;
|
|
|
|
public class Hashtag
|
|
{
|
|
/// <summary>
|
|
/// The value of the hashtag after the # sign
|
|
/// </summary>
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
/// A link to the hashtag on the instance
|
|
/// </summary>
|
|
[JsonPropertyName("url")]
|
|
public string URL { get; set; } = null!;
|
|
|
|
public override string ToString() => $"#{Name}";
|
|
} |