-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathAbout.java
More file actions
35 lines (28 loc) · 823 Bytes
/
About.java
File metadata and controls
35 lines (28 loc) · 823 Bytes
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
/*
* Copyright 2016-2023 Berry Cloud Ltd. All rights reserved.
*/
package dev.learning.xapi.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import java.net.URI;
import java.util.LinkedHashMap;
import lombok.Builder;
import lombok.Value;
/**
* This class represents the xAPI About object.
*
* @author Thomas Turrell-Croft
* @author István Rátkai (Selindek)
*
* @see <a href=
* "https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-Communication.md#24-agents-resource">xAPI
* About</a>
*/
@Value
@Builder
@JsonInclude(Include.NON_EMPTY)
public class About {
private String[] version;
private LinkedHashMap<URI, Object> extensions;
// **Warning** do not add fields that are not required by the xAPI specification.
}