# Class Scheme OptimaJet.Workflow.Api.Models.Scheme Scheme. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record Scheme : IEquatable ``` ## Type Hierarchy - Scheme Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `public Scheme(string Name, Scheme.Designer DesignerSettings, List Actors, List Parameters, List Commands, List Timers, List Comments, List Activities, List Transitions, List Localization, List CodeActions, string CodeActionsCommonUsings, Dictionary AdditionalParams, bool CanBeInlined, bool LogEnabled, List InlinedSchemes, List Tags, string RootSchemeCode, Guid? RootSchemeId, bool IsObsolete, Guid Id, List AllowedActivities, string CalendarName, string? LocalizedName = null)` Scheme. ### Parameters | Name | Type | Description | | --- | --- | --- | | `Name` | `String` | The name. | | `DesignerSettings` | `Scheme.Designer` | The designer settings. | | `Actors` | `List` | The actors. | | `Parameters` | `List` | The parameters. | | `Commands` | `List` | The commands. | | `Timers` | `List` | The timers. | | `Comments` | `List` | The comments. | | `Activities` | `List` | The activities. | | `Transitions` | `List` | The transitions. | | `Localization` | `List` | The localization. | | `CodeActions` | `List` | The code actions. | | `CodeActionsCommonUsings` | `String` | The common using directives for code actions. | | `AdditionalParams` | `Dictionary` | The additional parameters. | | `CanBeInlined` | `Boolean` | Whether the scheme can be inlined. | | `LogEnabled` | `Boolean` | Whether logging is enabled. | | `InlinedSchemes` | `List` | The inlined schemes. | | `Tags` | `List` | The tags. | | `RootSchemeCode` | `String` | The root scheme code. | | `RootSchemeId` | `Nullable` | The root scheme ID. | | `IsObsolete` | `Boolean` | Whether the scheme is obsolete. | | `Id` | `Guid` | The ID. | | `AllowedActivities` | `List` | The allowed activities. | | `CalendarName` | `String` | The calendar name. | | `LocalizedName` | `String` | The name localized using the request culture. | ## Properties ### `public string Name { get; init; }` The name. ### `public Scheme.Designer DesignerSettings { get; init; }` The designer settings. ### `public List Actors { get; init; }` The actors. ### `public List Parameters { get; init; }` The parameters. ### `public List Commands { get; init; }` The commands. ### `public List Timers { get; init; }` The timers. ### `public List Comments { get; init; }` The comments. ### `public List Activities { get; init; }` The activities. ### `public List Transitions { get; init; }` The transitions. ### `public List Localization { get; init; }` The localization. ### `public List CodeActions { get; init; }` The code actions. ### `public string CodeActionsCommonUsings { get; init; }` The common using directives for code actions. ### `public Dictionary AdditionalParams { get; init; }` The additional parameters. ### `public bool CanBeInlined { get; init; }` Whether the scheme can be inlined. ### `public bool LogEnabled { get; init; }` Whether logging is enabled. ### `public List InlinedSchemes { get; init; }` The inlined schemes. ### `public List Tags { get; init; }` The tags. ### `public string RootSchemeCode { get; init; }` The root scheme code. ### `public Guid? RootSchemeId { get; init; }` The root scheme ID. ### `public bool IsObsolete { get; init; }` Whether the scheme is obsolete. ### `public Guid Id { get; init; }` The ID. ### `public List AllowedActivities { get; init; }` The allowed activities. ### `public string CalendarName { get; init; }` The calendar name. ### `public string? LocalizedName { get; init; }` The name localized using the request culture. ## Nested Types ### `public record Scheme.ActionReference : IEquatable` Action Reference. [View Scheme.ActionReference](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.ActionReference/) ### `public record Scheme.Activity : IEquatable` Activity. [View Scheme.Activity](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Activity/) ### `public record Scheme.ActivityTimeout : IEquatable` Activity Timeout. [View Scheme.ActivityTimeout](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.ActivityTimeout/) ### `public record Scheme.Actor : IEquatable` Actor. [View Scheme.Actor](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Actor/) ### `public record Scheme.Annotation : IEquatable` Annotation. [View Scheme.Annotation](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Annotation/) ### `public record Scheme.CodeAction : IEquatable` Code Action. [View Scheme.CodeAction](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.CodeAction/) ### `public record Scheme.CodeActionParameter : IEquatable` Code Action Parameter. [View Scheme.CodeActionParameter](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.CodeActionParameter/) ### `public record Scheme.Command : IEquatable` Command. [View Scheme.Command](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Command/) ### `public record Scheme.Comment : IEquatable` Comment. [View Scheme.Comment](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Comment/) ### `public record Scheme.Condition : IEquatable` Condition. [View Scheme.Condition](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Condition/) ### `public record Scheme.Designer : IEquatable` Designer. [View Scheme.Designer](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Designer/) ### `public record Scheme.DropdownValue : IEquatable` Dropdown Value. [View Scheme.DropdownValue](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.DropdownValue/) ### `public record Scheme.ExceptionsHandler : IEquatable` Exceptions Handler. [View Scheme.ExceptionsHandler](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.ExceptionsHandler/) ### `public record Scheme.Parameter : IEquatable` Parameter. [View Scheme.Parameter](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Parameter/) ### `public record Scheme.ParameterReference : IEquatable` Parameter Reference. [View Scheme.ParameterReference](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.ParameterReference/) ### `public record Scheme.Restriction : IEquatable` Restriction. [View Scheme.Restriction](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Restriction/) ### `public record Scheme.Timer : IEquatable` Timer. [View Scheme.Timer](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Timer/) ### `public record Scheme.Transition : IEquatable` Transition. [View Scheme.Transition](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Transition/) ### `public record Scheme.Translation : IEquatable` Translation. [View Scheme.Translation](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Translation/) ### `public record Scheme.Trigger : IEquatable` Trigger. [View Scheme.Trigger](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Trigger/) [Previous RuntimeStartResponse](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/RuntimeStartResponse/) [Next Scheme.ActionReference](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.ActionReference/)