Class StateKey
A document in the State resource (activities/state), IEEE 9274.1.1, 4.1.6.2.
public sealed record StateKey : DocumentKey, IEquatable<DocumentKey>, IEquatable<StateKey>
- Inheritance
-
StateKey
- Implements
- Inherited Members
Constructors
StateKey(Iri, Agent, string, Guid?)
Creates a key.
public StateKey(Iri activityId, Agent agent, string stateId, Guid? registration = null)
Parameters
activityIdIriThe Activity the state belongs to (
activityId).agentAgentThe Agent the state belongs to (
agent).stateIdstringThe document id within that context (
stateId).registrationGuid?The registration, if the state is tied to one (
registration).
Properties
ActivityId
The Activity the state belongs to (activityId).
public Iri ActivityId { get; init; }
Property Value
Agent
The Agent the state belongs to (agent).
public Agent Agent { get; init; }
Property Value
Registration
The registration, if the state is tied to one (registration).
public Guid? Registration { get; init; }
Property Value
- Guid?
StateId
The document id within that context (stateId).
public string StateId { get; init; }