1 package org.onap.vid.controller;
3 import org.springframework.http.HttpStatus;
6 * Model for JSON response with health-check results.
8 public final class HealthStatus {
10 private final int statusCode;
11 private final String detailedMsg;
12 private final String date;
14 public HealthStatus(HttpStatus code, String date, String detailedMsg) {
15 this.statusCode = code.value();
16 this.detailedMsg = detailedMsg;
20 public int getStatusCode() {
24 public String getDetailedMsg() {
28 public String getDate() {