Represents units of distance used in the Ticketmaster Discovery API.
This enum defines the supported units for measuring distances, such as kilometers or miles, used in API requests or responses.
Kilometers unit, represented as "km".
Miles unit, represented as "miles".
Returns a representation of an immutable list of all enum entries, in the order they're declared.
The string representation of the unit (e.g., "km" for kilometers).
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.