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.
29 lines
706 B
C#
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; }
|
|
}
|