summaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp/healthcheck-rest/healthcheck-rest-types/src/main/java/org/openecomp/sdcrests/health/types/HealthInfoDto.java
blob: 9ed93cfec7206100c3f21399758979274b9fb1f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package org.openecomp.sdcrests.health.types;


public class HealthInfoDto {
    private MonitoredModules healthCheckComponent;
    private HealthCheckStatus healthStatus;
    private String version;
    private String description;

    public HealthInfoDto() {
    }

    public HealthInfoDto(MonitoredModules healthCheckComponent, HealthCheckStatus healthStatus, String version, String description) {
        this.healthCheckComponent = healthCheckComponent;
        this.healthStatus = healthStatus;
        this.version = version;
        this.description = description;
    }

    public MonitoredModules getHealthCheckComponent() {
        return healthCheckComponent;
    }

    public void setHealthCheckComponent(MonitoredModules healthCheckComponent) {
        this.healthCheckComponent = healthCheckComponent;
    }

    public HealthCheckStatus getHealthStatus() {
        return healthStatus;
    }

    public void setHealthStatus(HealthCheckStatus healthStatus) {
        this.healthStatus = healthStatus;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "HealthInfo{" +
                "healthCheckComponent='" + healthCheckComponent + '\'' +
                ", healthStatus=" + healthStatus +
                ", version='" + version + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}