Assembly: OptimaJet.Workflow.Api

Class ApprovalModel

OptimaJet.Workflow.Api.Models.ApprovalModel

Approval Model.

public record ApprovalModel : IEquatable<ApprovalModel>

Type Hierarchy

Constructors

public ApprovalModel(Guid Id, Guid ProcessId, string? IdentityId, List<string> AllowedTo, DateTime? TransitionTime, long Sort, string InitialState, string DestinationState, string? TriggerName, string? Commentary, string? LocalizedInitialState = null, string? LocalizedDestinationState = null, string? LocalizedTriggerName = null) #

Approval Model.

Parameters

Name
Type
Description
Id
Guid
The approval ID.
ProcessId
Guid
The process ID.
IdentityId
String
The identity ID.
AllowedTo
List<String>
The identities allowed to approve.
TransitionTime
Nullable<DateTime>
The transition time.
Sort
Int64
The sort order.
InitialState
String
The original initial state name.
DestinationState
String
The original destination state name.
TriggerName
String
The original trigger name.
Commentary
String
The approval commentary.
LocalizedInitialState
String
The initial state name localized using the request culture.
LocalizedDestinationState
String
The destination state name localized using the request culture.
LocalizedTriggerName
String
The trigger name localized using the request culture.

Properties

public Guid Id { get; init; } #

The approval ID.

public Guid ProcessId { get; init; } #

The process ID.

public string? IdentityId { get; init; } #

The identity ID.

public List<string> AllowedTo { get; init; } #

The identities allowed to approve.

public DateTime? TransitionTime { get; init; } #

The transition time.

public long Sort { get; init; } #

The sort order.

public string InitialState { get; init; } #

The original initial state name.

public string DestinationState { get; init; } #

The original destination state name.

public string? TriggerName { get; init; } #

The original trigger name.

public string? Commentary { get; init; } #

The approval commentary.

public string? LocalizedInitialState { get; init; } #

The initial state name localized using the request culture.

public string? LocalizedDestinationState { get; init; } #

The destination state name localized using the request culture.

public string? LocalizedTriggerName { get; init; } #

The trigger name localized using the request culture.