Categorical Value Object

A single value that a categorical Parameter can take. This can be an object as described below, or simply a string.

Fields

KeyTypeValue
enum_indexintCategorical parameters function like enum types in many programming languages. This field is 1-indexed.
namestringThe name of this categorical value

Examples

    {
      "enum_index": 1,
      "name": "true",
      "object": "categorical_value"
    }
    {
      "enum_index": 2,
      "name": "false",
      "object": "categorical_value"
    }