.NET API
RunAuthorizationRequest
Tracon.Abstractions.dllDescribes one run awaiting an authorization decision.
public sealed record RunAuthorizationRequest : IEquatable<RunAuthorizationRequest>Inheritance
Section titled “Inheritance”object ← RunAuthorizationRequest
Implements
Section titled “Implements”IEquatable<RunAuthorizationRequest>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”RunAuthorizationRequest()
Section titled “ RunAuthorizationRequest()”public RunAuthorizationRequest()Properties
Section titled “Properties”Access
Section titled “ Access”Gets the kind of access being requested.
public required RunAccess Access { get; init; }Property Value
Section titled “Property Value”AgentName
Section titled “ AgentName”Gets the name of the agent (or workflow) the run would start, or null when the request is not about starting one.
public string? AgentName { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Always populated for RunAccess.Start. For every other RunAccess value it carries the agent name of the run the resource belongs to when that is known, and null when it is not (a list, or an attachment uploaded before any run existed).
Gets the run the request is about, or null when there is no single run.
public Guid? RunId { get; init; }Property Value
Section titled “Property Value”Guid?
Remarks
Section titled “Remarks”Populated for every resource access (reading a run, canceling it, scoring it, its attachments and its approvals) and for a replay, where it identifies the source run whose recorded input is about to run again. It is null for a plain RunAccess.Start — the run does not exist yet — and for list operations.
SessionId
Section titled “ SessionId”Gets the session the run would continue, or null for a sessionless run.
public string? SessionId { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant the run would belong to.
public required string TenantId { get; init; }Property Value
Section titled “Property Value”UserId
Section titled “ UserId”Gets the calling user, or null when unknown.
public string? UserId { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(RunAuthorizationRequest?)
Section titled “ Equals(RunAuthorizationRequest?)”public bool Equals(RunAuthorizationRequest? other)Parameters
Section titled “Parameters”other RunAuthorizationRequest?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(RunAuthorizationRequest?, RunAuthorizationRequest?)
Section titled “ operator ==(RunAuthorizationRequest?, RunAuthorizationRequest?)”public static bool operator ==(RunAuthorizationRequest? left, RunAuthorizationRequest? right)Parameters
Section titled “Parameters”left RunAuthorizationRequest?
right RunAuthorizationRequest?
Returns
Section titled “Returns”operator !=(RunAuthorizationRequest?, RunAuthorizationRequest?)
Section titled “ operator !=(RunAuthorizationRequest?, RunAuthorizationRequest?)”public static bool operator !=(RunAuthorizationRequest? left, RunAuthorizationRequest? right)Parameters
Section titled “Parameters”left RunAuthorizationRequest?
right RunAuthorizationRequest?