# Class AutocompleteRequest OptimaJet.Workflow.Core.Runtime.CodeAutocomplete.AutocompleteRequest Represents a request for retrieving code autocomplete suggestions. Namespace: [OptimaJet.Workflow.Core.Runtime.CodeAutocomplete](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.CodeAutocomplete/) ```csharp public class AutocompleteRequest ``` ## Properties `[JsonProperty("pattern")] [JsonPropertyName("pattern")] public string Pattern { get; set; }` Gets or sets the text pattern to match autocomplete candidates against. `[JsonProperty("usings")] [JsonPropertyName("usings")] public List Usings { get; set; }` Gets or sets the list of namespaces currently in scope. `[JsonProperty("variables")] [JsonPropertyName("variables")] public List Variables { get; set; }` Gets or sets the variables that are available for autocomplete. `[JsonProperty("id")] [JsonPropertyName("id")] public int Id { get; set; }` Gets or sets the request identifier echoed in the autocomplete response. [Previous AutocompleteKind](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.CodeAutocomplete/AutocompleteKind/) [Next AutocompleteVariable](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime.CodeAutocomplete/AutocompleteVariable/)