using System.Text.Json.Serialization; namespace JobsJobsJobs.Server.Models { /// /// The variables we need from the account information we get from No Agenda Social /// public class MastodonAccount { /// /// The user name (what we store as naUser) /// [JsonPropertyName("username")] public string Username { get; set; } = ""; /// /// The account name; will be the same as username for local (non-federated) accounts /// [JsonPropertyName("acct")] public string AccountName { get; set; } = ""; /// /// The user's display name as it currently shows on No Agenda Social /// [JsonPropertyName("display_name")] public string DisplayName { get; set; } = ""; /// /// The user's profile URL /// [JsonPropertyName("url")] public string Url { get; set; } = ""; } }