AP.NET/Models/Activity/Intransitive/Question.cs
Gordon Pedersen 7c84fbc4c5 Initial commit way too late
There's a lot of rubbish in here, but I don't want to lose anything, so I'm going to commit it all before getting rid of some of the trash.
2024-04-05 15:26:57 +11:00

29 lines
706 B
C#

using OneOf;
namespace ActivityPub;
/// <summary>
/// https://www.w3.org/ns/activitystreams#Question
/// </summary>
public class Question : IntransitiveActivity {
/// <summary>
/// Default Constructor
/// </summary>
public Question() : base() => this.Type = "Question";
/// <summary>
/// https://www.w3.org/ns/activitystreams#oneOf
/// </summary>
public ListOrLink<Object> OneOf { get; set; }
/// <summary>
/// https://www.w3.org/ns/activitystreams#anyOf
/// </summary>
public ListOrLink<Object> AnyOf { get; set; }
/// <summary>
/// https://www.w3.org/ns/activitystreams#closed
/// </summary>
public OneOf<Uri, Object, DateTimeOffset, bool> Closed { get; set; }
}