# Class Scheme.CodeAction OptimaJet.Workflow.Api.Models.Scheme.CodeAction Code Action. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record Scheme.CodeAction : IEquatable ``` ## Type Hierarchy - Scheme.CodeAction Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `public CodeAction(string Name, Scheme.Designer DesignerSettings, string OriginalName, string OriginalSchemeCode, bool WasInlined, string ActionCode, string Type, bool IsGlobal, bool IsAsync, string Usings, string ExcludedUsings, List ParameterDefinitions, string? LocalizedName = null)` Code Action. ### Parameters | Name | Type | Description | | --- | --- | --- | | `Name` | `String` | The name. | | `DesignerSettings` | `Scheme.Designer` | The designer settings. | | `OriginalName` | `String` | The original name. | | `OriginalSchemeCode` | `String` | The original scheme code. | | `WasInlined` | `Boolean` | Whether the element was inlined. | | `ActionCode` | `String` | The action code. | | `Type` | `String` | The type. | | `IsGlobal` | `Boolean` | Whether the code action is global. | | `IsAsync` | `Boolean` | Whether the code action is asynchronous. | | `Usings` | `String` | The using directives. | | `ExcludedUsings` | `String` | The excluded using directives. | | `ParameterDefinitions` | `List` | The parameter definitions. | | `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 string OriginalName { get; init; }` The original name. ### `public string OriginalSchemeCode { get; init; }` The original scheme code. ### `public bool WasInlined { get; init; }` Whether the element was inlined. ### `public string ActionCode { get; init; }` The action code. ### `public string Type { get; init; }` The type. ### `public bool IsGlobal { get; init; }` Whether the code action is global. ### `public bool IsAsync { get; init; }` Whether the code action is asynchronous. ### `public string Usings { get; init; }` The using directives. ### `public string ExcludedUsings { get; init; }` The excluded using directives. ### `public List ParameterDefinitions { get; init; }` The parameter definitions. ### `[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public string? LocalizedName { get; init; }` The name localized using the request culture. [Previous Scheme.Annotation](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Annotation/) [Next Scheme.CodeActionParameter](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.CodeActionParameter/)