All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.split.telemetry.domain.HTTPErrors Maven / Gradle / Ivy

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 get_splits() {
        return _splits;
    }

    public void set_splits(Map _splits) {
        this._splits = _splits;
    }

    public Map get_segments() {
        return _segments;
    }

    public void set_segments(Map _segments) {
        this._segments = _segments;
    }

    public Map get_impressions() {
        return _impressions;
    }

    public void set_impressions(Map _impressions) {
        this._impressions = _impressions;
    }

    public Map get_events() {
        return _events;
    }

    public void set_events(Map _events) {
        this._events = _events;
    }

    public Map get_token() {
        return _token;
    }

    public void set_token(Map _token) {
        this._token = _token;
    }

    public Map get_telemetry() {
        return _telemetry;
    }

    public void set_telemetry(Map _telemetry) {
        this._telemetry = _telemetry;
    }

    public Map get_impressionsCount() {
        return _impressionsCount;
    }

    public void set_impressionsCount(Map _impressionsCount) {
        this._impressionsCount = _impressionsCount;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy