org.whitesource.agent.api.dispatch.SendMetricsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wss-agent-api Show documentation
Show all versions of wss-agent-api Show documentation
Java bindings for White Source API
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