io.split.telemetry.domain.HTTPErrors Maven / Gradle / Ivy
The newest version!
package io.split.telemetry.domain;
import com.google.gson.annotations.SerializedName;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
public class HTTPErrors {
/* package private */ static final String FIELD_SPLIT = "sp";
/* package private */ static final String FIELD_SEGMENTS = "se";
/* package private */ static final String FIELD_IMPRESSIONS = "im";
/* package private */ static final String FIELD_IMPRESSIONS_COUNT = "ic";
/* package private */ static final String FIELD_EVENTS = "ev";
/* package private */ static final String FIELD_TOKEN = "to";
/* package private */ static final String FIELD_TELEMETRY = "te";
@SerializedName(FIELD_SPLIT)
private Map _splits;
@SerializedName(FIELD_SEGMENTS)
private Map _segments;
@SerializedName(FIELD_IMPRESSIONS)
private Map _impressions;
@SerializedName(FIELD_IMPRESSIONS_COUNT)
private Map _impressionsCount;
@SerializedName(FIELD_EVENTS)
private Map _events;
@SerializedName(FIELD_TOKEN)
private Map _token;
@SerializedName(FIELD_TELEMETRY)
private Map _telemetry;
public HTTPErrors() {
_splits = new ConcurrentHashMap<>();
_segments = new ConcurrentHashMap<>();
_impressions = new ConcurrentHashMap<>();
_impressionsCount = new ConcurrentHashMap<>();
_events = new ConcurrentHashMap<>();
_token = new ConcurrentHashMap<>();
_telemetry = new ConcurrentHashMap<>();
}
public Map getSplits() {
return _splits;
}
public void setSplits(Map _splits) {
this._splits = _splits;
}
public Map getSegments() {
return _segments;
}
public void setSegments(Map _segments) {
this._segments = _segments;
}
public Map getImpressions() {
return _impressions;
}
public void setImpressions(Map _impressions) {
this._impressions = _impressions;
}
public Map getEvents() {
return _events;
}
public void setEvents(Map _events) {
this._events = _events;
}
public Map getToken() {
return _token;
}
public void setToken(Map _token) {
this._token = _token;
}
public Map getTelemetry() {
return _telemetry;
}
public void setTelemetry(Map _telemetry) {
this._telemetry = _telemetry;
}
public Map getImpressionsCount() {
return _impressionsCount;
}
public void setImpressionsCount(Map _impressionsCount) {
this._impressionsCount = _impressionsCount;
}
}