# API

enum API : Enum<FMP.API>

Версии API сервера FMP.

#### Since

23.05.01

## Entries

V1
Link copied to clipboard
V1
V2
Link copied to clipboard
V2

## Types

Companion
Link copied to clipboard
object Companion

## Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): FMP.API

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.)

values
Link copied to clipboard
fun values(): Array<FMP.API>

Returns an array containing the constants of this enum type, in the order they're declared.