io.quarkiverse.openfga.client.model.dto.HealthzResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-openfga-client-model Show documentation
Show all versions of quarkus-openfga-client-model Show documentation
OpenFGA Client API model classes
package io.quarkiverse.openfga.client.model.dto;
import static com.fasterxml.jackson.annotation.JsonCreator.Mode.PROPERTIES;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class HealthzResponse {
private final String status;
@JsonCreator(mode = PROPERTIES)
public HealthzResponse(String status) {
this.status = status;
}
public String getStatus() {
return status;
}
@Override
public String toString() {
return "HealthzResponse{" +
"status='" + status + '\'' +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy