-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathIRelationshipObject.cs
More file actions
28 lines (25 loc) · 709 Bytes
/
IRelationshipObject.cs
File metadata and controls
28 lines (25 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
namespace JSONAPI.Documents
{
/// <summary>
/// Represents a JSON API relationship object
/// </summary>
public interface IRelationshipObject
{
/// <summary>
/// A link for the relationship itself
/// </summary>
ILink SelfLink { get; }
/// <summary>
/// A link for the related resource
/// </summary>
ILink RelatedResourceLink { get; }
/// <summary>
/// Linkage to the resources defined by this relationship
/// </summary>
IResourceLinkage Linkage { get; }
/// <summary>
/// Metadata for the relationship
/// </summary>
IMetadata Metadata { get; }
}
}