blob: de142394c07d52995c863903127515d7ecb21351 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
package com.p4square.groupsindexer.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.Instant;
import java.util.List;
/**
* A list of groups and some metadata.
*/
public class GroupsCollection {
@JsonProperty("last-updated")
private Instant lastUpdated;
@JsonProperty("groups")
private List<GroupSearchDocument> groups;
@JsonProperty("search-fields")
private List<SearchField> searchFields;
public Instant getLastUpdated() {
return lastUpdated;
}
public void setLastUpdated(Instant lastUpdated) {
this.lastUpdated = lastUpdated;
}
public List<GroupSearchDocument> getGroups() {
return groups;
}
public void setGroups(List<GroupSearchDocument> groups) {
this.groups = groups;
}
public List<SearchField> getSearchFields() {
return searchFields;
}
public void setSearchFields(List<SearchField> searchFields) {
this.searchFields = searchFields;
}
}
|