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

io.flipt.client.models.BatchEvaluationResponse Maven / Gradle / Ivy

There is a newer version: 0.2.0
Show newest version
package io.flipt.client.models;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class BatchEvaluationResponse {
  private final Response[] responses;

  private final float requestDurationMillis;

  public BatchEvaluationResponse(
      @JsonProperty("responses") Response[] responses,
      @JsonProperty("request_duration_millis") float requestDurationMillis) {
    this.responses = responses;
    this.requestDurationMillis = requestDurationMillis;
  }

  @JsonProperty("responses")
  public Response[] getResponses() {
    return responses;
  }

  @JsonProperty("request_duration_millis")
  public float getRequestDurationMillis() {
    return requestDurationMillis;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy