25 lines
726 B
C#
25 lines
726 B
C#
namespace PrivaPub.ClientModels.Post
|
|||
|
|
{
|
||
|
|
public class ViewPost
|
||
|
|
{
|
||
|
|
public string Id { get; set; }
|
||
|
|
public string ObjectURI { get; set; }
|
||
|
|
public string AuthorAvatarId { get; set; }
|
||
|
|
public string AuthorActorURI { get; set; }
|
||
|
|
public string GroupId { get; set; }
|
||
|
|
public string DmGroupId { get; set; }
|
||
|
|
public string AnsweringToPostId { get; set; }
|
||
|
|
public string Title { get; set; }
|
||
|
|
public string Text { get; set; }
|
||
|
|
public bool HasContentWarning { get; set; }
|
||
|
|
public bool IsFederatedCopy { get; set; }
|
||
|
|
public DateTime CreationDate { get; set; }
|
||
|
|
}
|
||
|
|
|
||
|
|
public class ViewDmGroup
|
||
|
|
{
|
||
|
|
public string Id { get; set; }
|
||
|
|
public List<string> Members { get; set; } = new();
|
||
|
|
public DateTime UpdatedAt { get; set; }
|
||
|
|
}
|
||
|
|
}
|