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

org.whitesource.agent.api.dispatch.SendMetricsRequest Maven / Gradle / Ivy

There is a newer version: 18.4.1
Show newest version
package org.whitesource.agent.api.dispatch;

import java.util.Map;

public class SendMetricsRequest extends BaseRequest {

    private static final long serialVersionUID = -6575498573910995957L;

    public SendMetricsRequest() {
        super(RequestType.SEND_METRICS);
    }

    public SendMetricsRequest(String orgToken) {
        this();
        this.orgToken = orgToken;
    }

    public SendMetricsRequest(String orgToken, String userKey, String productName, Map metrics) {
        this(orgToken);
        this.userKey = userKey;
        this.product = productName;
        this.extraProperties = metrics;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy