[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / api / openecomp-sdc-rest-webapp / healthcheck-rest / healthcheck-rest-types / src / main / java / org / openecomp / sdcrests / health / types / HealthInfoDto.java
1 package org.openecomp.sdcrests.health.types;
2
3
4 public class HealthInfoDto {
5     private MonitoredModules healthCheckComponent;
6     private HealthCheckStatus healthStatus;
7     private String version;
8     private String description;
9
10     public HealthInfoDto() {
11     }
12
13     public HealthInfoDto(MonitoredModules healthCheckComponent, HealthCheckStatus healthStatus, String version, String description) {
14         this.healthCheckComponent = healthCheckComponent;
15         this.healthStatus = healthStatus;
16         this.version = version;
17         this.description = description;
18     }
19
20     public MonitoredModules getHealthCheckComponent() {
21         return healthCheckComponent;
22     }
23
24     public void setHealthCheckComponent(MonitoredModules healthCheckComponent) {
25         this.healthCheckComponent = healthCheckComponent;
26     }
27
28     public HealthCheckStatus getHealthStatus() {
29         return healthStatus;
30     }
31
32     public void setHealthStatus(HealthCheckStatus healthStatus) {
33         this.healthStatus = healthStatus;
34     }
35
36     public String getVersion() {
37         return version;
38     }
39
40     public void setVersion(String version) {
41         this.version = version;
42     }
43
44     public String getDescription() {
45         return description;
46     }
47
48     public void setDescription(String description) {
49         this.description = description;
50     }
51
52     @Override
53     public String toString() {
54         return "HealthInfo{" +
55                 "healthCheckComponent='" + healthCheckComponent + '\'' +
56                 ", healthStatus=" + healthStatus +
57                 ", version='" + version + '\'' +
58                 ", description='" + description + '\'' +
59                 '}';
60     }
61 }