-
public class SummaryA summary of all the annotations that have been made to the message. Will always be populated for a message.annotations.summary, and may be populated for any other type (in particular a message retrieved from REST history will have its latest summary included). The keys of the map are the annotation types. The exact structure of the value of each key depends on the aggregation part of the annotation type, e.g. for a type of reaction:distinct.v1, the value will be a DistinctValues object. New aggregation methods might be added serverside, hence the 'unknown' part of the sum type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSummary.Serializer
-
Method Summary
Modifier and Type Method Description static Map<String, SummaryClientIdList>asSummaryDistinctV1(JsonObject jsonObject)static Map<String, SummaryClientIdList>asSummaryUniqueV1(JsonObject jsonObject)static Map<String, SummaryClientIdCounts>asSummaryMultipleV1(JsonObject jsonObject)static SummaryClientIdListasSummaryFlagV1(JsonObject jsonObject)static SummaryTotalasSummaryTotalV1(JsonObject jsonObject)JsonObjectget(String annotationType)Retrieves the JSON representation associated with a specified annotation type. -
-
Method Detail
-
asSummaryDistinctV1
static Map<String, SummaryClientIdList> asSummaryDistinctV1(JsonObject jsonObject)
-
asSummaryUniqueV1
static Map<String, SummaryClientIdList> asSummaryUniqueV1(JsonObject jsonObject)
-
asSummaryMultipleV1
static Map<String, SummaryClientIdCounts> asSummaryMultipleV1(JsonObject jsonObject)
-
asSummaryFlagV1
static SummaryClientIdList asSummaryFlagV1(JsonObject jsonObject)
-
asSummaryTotalV1
static SummaryTotal asSummaryTotalV1(JsonObject jsonObject)
-
-
-
-