# Class CommandParameter OptimaJet.Workflow.Api.Models.CommandParameter Command Parameter. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record CommandParameter : IEquatable ``` ## Type Hierarchy - CommandParameter Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `[JsonConstructor] [JsonConstructor] public CommandParameter(string name, string typeName)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `name` | `String` | | | `typeName` | `String` | | ## Properties ### `public string Name { get; init; }` Gets the name value. ### `public string? LocalizedName { get; init; }` Gets the localized name value. ### `public bool IsRequired { get; init; }` Gets the is required value. ### `public object? Value { get; init; }` Gets the value value. ### `public object? DefaultValue { get; init; }` Gets the default value value. ### `public string TypeName { get; init; }` Gets the type name value. ### `[JsonConverter(typeof(StringEnumConverter))] [JsonConverter(typeof(JsonStringEnumConverter))] public ParameterPurposeWithoutSystem Purpose { get; init; }` Gets the purpose value. [Previous CommandExecutionResult](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/CommandExecutionResult/) [Next CreateCollectionResponse](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/CreateCollectionResponse/)