com.yahoo.vespa.config.server.http.v2.response.QuotaUsageResponse Maven / Gradle / Ivy
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.http.v2.response;
import com.yahoo.jdisc.Response;
import com.yahoo.vespa.config.server.http.JSONResponse;
public class QuotaUsageResponse extends JSONResponse {
public QuotaUsageResponse(double usageRate) {
super(Response.Status.OK);
object.setDouble("rate", usageRate);
}
}