public class Stats
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Stats()
Default private constructor of Stats for serialization with Jackson
|
|
Stats(java.lang.String id,
StatsType type,
double timestamp)
Create a Stats
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
get A unique id that is associated with the object that was inspected to produce this Stats object.
|
double |
getTimestamp()
get The timestamp associated with this object.
|
StatsType |
getType()
get The type of this object.
|
void |
setId(java.lang.String id)
set A unique id that is associated with the object that was inspected to produce this Stats object.
|
void |
setTimestamp(double timestamp)
set The timestamp associated with this object.
|
void |
setType(StatsType type)
set The type of this object.
|
protected Stats()
public Stats(java.lang.String id, StatsType type, double timestamp)
public java.lang.String getId()
public void setId(java.lang.String id)
public StatsType getType()
public void setType(StatsType type)
public double getTimestamp()
public void setTimestamp(double timestamp)