namespace PrivaPub.Api.Mastodon.Entities { public class ActivityWeekEntity { public string Week { get; set; } public string Statuses { get; set; } public string Logins { get; set; } public string Registrations { get; set; } } public class AnnualReportsEntity { public object[] AnnualReports { get; set; } = []; public object[] Accounts { get; set; } = []; public object[] Statuses { get; set; } = []; } public class AppCredentialsEntity { public string Id { get; set; } public string Name { get; set; } public string Website { get; set; } public List Scopes { get; set; } = []; public List RedirectUris { get; set; } = []; public string VapidKey { get; set; } } public class DomainBlockEntity { public string Domain { get; set; } public string Digest { get; set; } public string Severity { get; set; } public string Comment { get; set; } } public class DomainBlockPreviewEntity { public int FollowingCount { get; set; } public int FollowersCount { get; set; } } public class EmptyEntity { } public class ErrorEntity { public string Error { get; set; } } public class FamiliarFollowersEntity { public string Id { get; set; } public Account[] Accounts { get; set; } = []; } public class GroupedNotificationsEntity { public List Accounts { get; set; } = []; public List Statuses { get; set; } = []; public List NotificationGroups { get; set; } = []; } public class InstanceDocumentEntity { public string UpdatedAt { get; set; } public string Content { get; set; } } public class InstanceV1ConfigurationAccountsEntity { public int MaxFeaturedTags { get; set; } } public class InstanceV1ConfigurationEntity { public InstanceV1ConfigurationAccountsEntity Accounts { get; set; } public object Statuses { get; set; } public object MediaAttachments { get; set; } public object Polls { get; set; } } public class InstanceV1Entity { public string Uri { get; set; } public string Title { get; set; } public string ShortDescription { get; set; } public string Description { get; set; } public string Email { get; set; } public string Version { get; set; } public InstanceV1UrlsEntity Urls { get; set; } public InstanceV1StatsEntity Stats { get; set; } public string Thumbnail { get; set; } public IReadOnlyList Languages { get; set; } = []; public bool Registrations { get; set; } public bool ApprovalRequired { get; set; } public bool InvitesEnabled { get; set; } public InstanceV1ConfigurationEntity Configuration { get; set; } public object ContactAccount { get; set; } public object Rules { get; set; } } public class InstanceV1StatsEntity { public long UserCount { get; set; } public long StatusCount { get; set; } public long DomainCount { get; set; } } public class InstanceV1UrlsEntity { public string StreamingApi { get; set; } } public class InstanceV2ApiVersionsEntity { public int Mastodon { get; set; } } public class InstanceV2ConfigurationAccountsEntity { public int MaxFeaturedTags { get; set; } public int MaxPinnedStatuses { get; set; } } public class InstanceV2ConfigurationEntity { public InstanceV2ConfigurationUrlsEntity Urls { get; set; } public InstanceV2ConfigurationAccountsEntity Accounts { get; set; } public object Statuses { get; set; } public object MediaAttachments { get; set; } public object Polls { get; set; } public InstanceV2ConfigurationTranslationEntity Translation { get; set; } public InstanceV2ConfigurationVapidEntity Vapid { get; set; } } public class InstanceV2ConfigurationTranslationEntity { public bool Enabled { get; set; } } public class InstanceV2ConfigurationUrlsEntity { public string Streaming { get; set; } } public class InstanceV2ConfigurationVapidEntity { public string PublicKey { get; set; } } public class InstanceV2ContactEntity { public string Email { get; set; } public object Account { get; set; } } public class InstanceV2Entity { public string Domain { get; set; } public string Title { get; set; } public string Version { get; set; } public InstanceV2ApiVersionsEntity ApiVersions { get; set; } public string SourceUrl { get; set; } public string Description { get; set; } public InstanceV2UsageEntity Usage { get; set; } public InstanceV2ThumbnailEntity Thumbnail { get; set; } public IReadOnlyList Languages { get; set; } = []; public InstanceV2ConfigurationEntity Configuration { get; set; } public InstanceV2RegistrationsEntity Registrations { get; set; } public InstanceV2ContactEntity Contact { get; set; } public object Rules { get; set; } } public class InstanceV2RegistrationsEntity { public bool Enabled { get; set; } public bool ApprovalRequired { get; set; } public string Message { get; set; } } public class InstanceV2ThumbnailEntity { public string Url { get; set; } } public class InstanceV2UsageEntity { public InstanceV2UsageUsersEntity Users { get; set; } } public class InstanceV2UsageUsersEntity { public long ActiveMonth { get; set; } } public class LanguageEntity { public string Code { get; set; } public string Name { get; set; } } public class ListEntity { public string Id { get; set; } public string Title { get; set; } public string RepliesPolicy { get; set; } public bool Exclusive { get; set; } } public class MediaLimitsEntity { public IReadOnlyList SupportedMimeTypes { get; set; } = []; public long ImageSizeLimit { get; set; } public long ImageMatrixLimit { get; set; } public long VideoSizeLimit { get; set; } public int VideoFrameRateLimit { get; set; } public long VideoMatrixLimit { get; set; } } public class MediaUploadEntity { public string Id { get; set; } public string Type { get; set; } public string Url { get; set; } public string PreviewUrl { get; set; } public string RemoteUrl { get; set; } public string TextUrl { get; set; } public MediaUploadMetaEntity Meta { get; set; } public string Description { get; set; } public string Blurhash { get; set; } } public class MediaUploadMetaEntity { public MediaUploadMetaOriginalEntity Original { get; set; } public MediaUploadMetaFocusEntity Focus { get; set; } } public class MediaUploadMetaFocusEntity { public float X { get; set; } public float Y { get; set; } } public class MediaUploadMetaOriginalEntity { public int? Width { get; set; } public int? Height { get; set; } public string Size { get; set; } public double Aspect { get; set; } } public class MergedEntity { public bool Merged { get; set; } } public class NotificationGroupEntity { public string GroupKey { get; set; } public long NotificationsCount { get; set; } public string Type { get; set; } public string MostRecentNotificationId { get; set; } public string PageMinId { get; set; } public string PageMaxId { get; set; } public string LatestPageNotificationAt { get; set; } public List SampleAccountIds { get; set; } = []; public string StatusId { get; set; } public string Emoji { get; set; } public string EmojiUrl { get; set; } public AccountWarning ModerationWarning { get; set; } } public class NotificationPolicyEntity { public string ForNotFollowing { get; set; } public string ForNotFollowers { get; set; } public string ForNewAccounts { get; set; } public string ForPrivateMentions { get; set; } public string ForLimitedAccounts { get; set; } public object Summary { get; set; } } public class NotificationPolicySummaryEntity { public long PendingRequestsCount { get; set; } public long PendingNotificationsCount { get; set; } } public class NotificationPolicyV1Entity { public bool FilterNotFollowing { get; set; } public bool FilterNotFollowers { get; set; } public bool FilterNewAccounts { get; set; } public bool FilterPrivateMentions { get; set; } public object Summary { get; set; } } public class NotificationRequestEntity { public string Id { get; set; } public string CreatedAt { get; set; } public string UpdatedAt { get; set; } public string NotificationsCount { get; set; } public Account Account { get; set; } public Status LastStatus { get; set; } } public class PleromaReactionEntity { public string Name { get; set; } public int Count { get; set; } public bool Me { get; set; } public string Url { get; set; } public List Accounts { get; set; } = []; } public class PollLimitsEntity { public int MaxOptions { get; set; } public int MaxCharactersPerOption { get; set; } public int MinExpiration { get; set; } public int MaxExpiration { get; set; } } public class ReportEntity { public string Id { get; set; } public bool ActionTaken { get; set; } public string ActionTakenAt { get; set; } public string Category { get; set; } public string Comment { get; set; } public bool Forwarded { get; set; } public string CreatedAt { get; set; } public List StatusIds { get; set; } = []; public List RuleIds { get; set; } = []; public Account TargetAccount { get; set; } } public class RuleEntity { public string Id { get; set; } public string Text { get; set; } public string Hint { get; set; } } public class ScheduledStatusEntity { public string Id { get; set; } public string ScheduledAt { get; set; } public ScheduledStatusParamsEntity Params { get; set; } public List MediaAttachments { get; set; } = []; } public class ScheduledStatusParamsEntity { public string Text { get; set; } public ScheduledStatusParamsPollEntity Poll { get; set; } public List MediaIds { get; set; } = []; public bool Sensitive { get; set; } public string SpoilerText { get; set; } public string Visibility { get; set; } public string InReplyToId { get; set; } public string Language { get; set; } public string ApplicationId { get; set; } public string ScheduledAt { get; set; } public string Idempotency { get; set; } public bool WithRateLimit { get; set; } public string QuotedStatusId { get; set; } } public class ScheduledStatusParamsPollEntity { public List Options { get; set; } = []; public int ExpiresIn { get; set; } public bool Multiple { get; set; } public bool HideTotals { get; set; } } public class SearchTagEntity { public string Name { get; set; } public string Url { get; set; } public List History { get; set; } = []; } public class StatusLimitsEntity { public int MaxCharacters { get; set; } public int MaxMediaAttachments { get; set; } public int CharactersReservedPerUrl { get; set; } } public class TagEntity { public string Name { get; set; } public string Url { get; set; } public List History { get; set; } = []; public bool Following { get; set; } public bool? Featuring { get; set; } } public class TagHistoryEntity { public string Day { get; set; } public string Uses { get; set; } public string Accounts { get; set; } } public class TermsOfServiceEntity { public string EffectiveDate { get; set; } public bool Effective { get; set; } public string Content { get; set; } public string SucceededBy { get; set; } } public class TrendLinkEntity { public string Url { get; set; } public string Title { get; set; } public string Description { get; set; } public string Type { get; set; } public string AuthorName { get; set; } public string AuthorUrl { get; set; } public string ProviderName { get; set; } public string ProviderUrl { get; set; } public string Html { get; set; } public int Width { get; set; } public int Height { get; set; } public string Image { get; set; } public string ImageDescription { get; set; } public string EmbedUrl { get; set; } public string Blurhash { get; set; } public string Language { get; set; } public string PublishedAt { get; set; } public List Authors { get; set; } = []; public List History { get; set; } = []; } public class TrendTagEntity { public string Name { get; set; } public string Url { get; set; } public List History { get; set; } = []; public bool? Following { get; set; } } public class UnreadCountEntity { public int Count { get; set; } } public class UserInfoEntity { public string Iss { get; set; } public string Sub { get; set; } public string Name { get; set; } public string PreferredUsername { get; set; } public string Profile { get; set; } public string Picture { get; set; } } public class WebPushSubscriptionEntity { public string Id { get; set; } public string Endpoint { get; set; } public bool Standard { get; set; } public Dictionary Alerts { get; set; } = new(); public string ServerKey { get; set; } public string Policy { get; set; } } }