of

public static QuoteResponse of(Map<String, Object> stringObjectMap)

Builds a response from a decoded GLOBAL_QUOTE payload.

Return

a response holding the parsed quote, or one holding an error message if the payload was empty or was not a quote

Parameters

stringObjectMap

the response body, already decoded from JSON into a map