FieldValues value object
The FieldValues value class has an
ids field, which is an ordered list of identifiers, and a
values field, which is a list of arrays of field values associated
with the ids.
class FieldValues extends TopicsServiceResult {
ArrayList<Long> ids;
ArrayList<FieldValueArrayGenerated> values;
}
class FieldValueArrayGenerated {
FieldValue[] values;
}
Each FieldValue object has the field
type, the name of the field, and a field value depending on
the type. STRING types are returned as
stringValue fields. INTEGER or
LONG types are returned as a longValue
fields. DATE types are returned as dateValue
fields. The nameIdPair field is used when the
type is PROJECT or
STATE and returns pairs of the identifier and name for the
project or state.
The floatValue field is reserved for future use.
class FieldValue {
FieldType type;
String fieldName;
String stringValue;
Long longValue;
Date dateValue;
NameIdPair nameIdPair;
Float floatValue;
}
class NameIdPair {
String id;
String name;
}
Parent topic: Get field values