diff --git a/Pleroma/Models/Account.cs b/Pleroma/Models/Account.cs
index f294904..d9f1d73 100644
--- a/Pleroma/Models/Account.cs
+++ b/Pleroma/Models/Account.cs
@@ -53,6 +53,10 @@ public class Account : ASObject
}
}
+ internal Account()
+ {
+ }
+
public override string ToString() => $"@{Webfinger}";
}
diff --git a/Pleroma/Models/AccountField.cs b/Pleroma/Models/AccountField.cs
index e5f3911..b4ba648 100644
--- a/Pleroma/Models/AccountField.cs
+++ b/Pleroma/Models/AccountField.cs
@@ -9,4 +9,8 @@ public class AccountField
public string Value { get; set; } = null!;
public DateTime? VerifiedAt { get; set; }
+
+ internal AccountField()
+ {
+ }
}
diff --git a/Pleroma/Models/Attachment.cs b/Pleroma/Models/Attachment.cs
index c1b0dbf..1aab035 100644
--- a/Pleroma/Models/Attachment.cs
+++ b/Pleroma/Models/Attachment.cs
@@ -50,6 +50,10 @@ public class Attachment
[JsonPropertyName("url")]
public string URL { get; set; } = null!;
+ internal Attachment()
+ {
+ }
+
///
/// Downloads the attachment.
///
diff --git a/Pleroma/Models/Context.cs b/Pleroma/Models/Context.cs
index 24dec97..d852204 100644
--- a/Pleroma/Models/Context.cs
+++ b/Pleroma/Models/Context.cs
@@ -7,4 +7,8 @@ public class Context
[JsonPropertyName("descendants")]
public Status[] Descendants { get; set; } = null!;
+
+ internal Context()
+ {
+ }
}
\ No newline at end of file
diff --git a/Pleroma/Models/Hashtag.cs b/Pleroma/Models/Hashtag.cs
index b474ce1..8f5cdd9 100644
--- a/Pleroma/Models/Hashtag.cs
+++ b/Pleroma/Models/Hashtag.cs
@@ -14,5 +14,9 @@ public class Hashtag
[JsonPropertyName("url")]
public string URL { get; set; } = null!;
+ internal Hashtag()
+ {
+ }
+
public override string ToString() => $"#{Name}";
}
\ No newline at end of file
diff --git a/Pleroma/Models/Mention.cs b/Pleroma/Models/Mention.cs
index 54f195e..80cd372 100644
--- a/Pleroma/Models/Mention.cs
+++ b/Pleroma/Models/Mention.cs
@@ -28,5 +28,9 @@ public class Mention
[JsonPropertyName("username")]
public string Username { get; set; } = null!;
+ internal Mention()
+ {
+ }
+
public override string ToString() => $"@{Account}";
}
diff --git a/Pleroma/Models/Relationship.cs b/Pleroma/Models/Relationship.cs
index 4dbff5f..b2b8c35 100644
--- a/Pleroma/Models/Relationship.cs
+++ b/Pleroma/Models/Relationship.cs
@@ -49,4 +49,8 @@ public class Relationship
[JsonPropertyName("subscribing")]
public bool Subscribing { get; set; }
+
+ internal Relationship()
+ {
+ }
}
diff --git a/Pleroma/Models/SearchResults.cs b/Pleroma/Models/SearchResults.cs
index 7f175bd..efcd9ce 100644
--- a/Pleroma/Models/SearchResults.cs
+++ b/Pleroma/Models/SearchResults.cs
@@ -19,4 +19,8 @@ public class SearchResults
///
[JsonPropertyName("statuses")]
public Status[]? Statuses { get; set; }
+
+ internal SearchResults()
+ {
+ }
}
diff --git a/Pleroma/Models/Status.cs b/Pleroma/Models/Status.cs
index 679546e..84e09bb 100644
--- a/Pleroma/Models/Status.cs
+++ b/Pleroma/Models/Status.cs
@@ -140,6 +140,10 @@ public class Status : ASObject
[JsonIgnore]
public string Content => Pleroma?.Content?.Plain ?? HtmlContent;
+ internal Status()
+ {
+ }
+
///
/// Returns true if a status mentions or replies to a user.
///
@@ -165,12 +169,20 @@ public class PleromaStatusData
[JsonPropertyName("quote_id")]
public string? QuoteID { get; set; }
+
+ internal PleromaStatusData()
+ {
+ }
}
public class PleromaStatusContent
{
[JsonPropertyName("text/plain")]
public string Plain { get; set; } = null!;
+
+ internal PleromaStatusContent()
+ {
+ }
}
[JsonConverter(typeof(StatusIDConverter))]