PluralKit/PluralKit.Core/Models/PKGroup.cs

24 lines
800 B
C#
Raw Normal View History

2020-06-29 21:51:12 +00:00
using NodaTime;
#nullable enable
namespace PluralKit.Core
{
public class PKGroup
{
2020-08-21 15:08:49 +00:00
public GroupId Id { get; private set; }
public string Hid { get; private set; } = null!;
public SystemId System { get; private set; }
2020-06-29 21:51:12 +00:00
2020-08-21 15:08:49 +00:00
public string Name { get; private set; } = null!;
public string? DisplayName { get; private set; }
public string? Description { get; private set; }
public string? Icon { get; private set; }
2020-08-21 15:08:49 +00:00
public PrivacyLevel DescriptionPrivacy { get; private set; }
public PrivacyLevel IconPrivacy { get; private set; }
public PrivacyLevel ListPrivacy { get; private set; }
public PrivacyLevel Visibility { get; private set; }
2020-06-29 21:51:12 +00:00
2020-08-21 15:08:49 +00:00
public Instant Created { get; private set; }
2020-06-29 21:51:12 +00:00
}
}