OcppModel.V20.EnumTypes (ocpp_model v0.1.2) View Source

Contains a map of all EnumTypes that are used in the currently supported messages, with a function to validate if a value is part of the EnumType

Link to this section Summary

Link to this section Functions

Specs

get(atom() | nil) :: %{} | [String.t() | nil]
Link to this function

validate?(enum_type, value)

View Source

Specs

validate?(atom(), String.t()) :: boolean()