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
No EOL
796 B
C#
29 lines
No EOL
796 B
C#
namespace ActivityPub;
|
|
|
|
/// <summary>
|
|
/// https://www.w3.org/ns/activitystreams#Relationship
|
|
/// </summary>
|
|
public class Relationship : Object {
|
|
|
|
/// <summary>
|
|
/// Default Constructor
|
|
/// </summary>
|
|
public Relationship() : base() => this.Type = "Relationship";
|
|
|
|
/// <summary>
|
|
/// https://www.w3.org/ns/activitystreams#subject
|
|
/// </summary>
|
|
public ObjectOrLink? Subject { get; set; }
|
|
|
|
/// <summary>
|
|
/// https://www.w3.org/ns/activitystreams#Object
|
|
/// </summary>
|
|
public ObjectOrLink? Object { get; set; }
|
|
|
|
/// <summary>
|
|
/// https://www.w3.org/ns/activitystreams#Relationship
|
|
/// </summary>
|
|
// This is the only lowercase property in all the classes
|
|
// because "Member names cannot be the same as their enclosing type"
|
|
public string? relationship { get; set; }
|
|
} |