Class ApprovalModel
OptimaJet.Workflow.Api.Models.ApprovalModel
Approval Model.
Namespace: OptimaJet.Workflow.Api.Models
public record ApprovalModel : IEquatable<ApprovalModel>Type Hierarchy
- ApprovalModel Current type
- Implemented interfaces
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
IdGuidThe approval ID.
ProcessIdGuidThe process ID.
IdentityIdStringThe identity ID.
AllowedToList<String>The identities allowed to approve.
TransitionTimeNullable<DateTime>The transition time.
SortInt64The sort order.
InitialStateStringThe original initial state name.
DestinationStateStringThe original destination state name.
TriggerNameStringThe original trigger name.
CommentaryStringThe approval commentary.
LocalizedInitialStateStringThe initial state name localized using the request culture.
LocalizedDestinationStateStringThe destination state name localized using the request culture.
LocalizedTriggerNameStringThe 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.