io.convergence_platform.services.dto.ServiceStatusInfoDTO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of service-lib Show documentation
Show all versions of service-lib Show documentation
Holds the common functionality needed by all Convergence Platform-based services written in Java.
The newest version!
package io.convergence_platform.services.dto;
import io.convergence_platform.common.responses.IApiResponseBody;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@Data
public class ServiceStatusInfoDTO implements IApiResponseBody {
@JsonProperty("service_name")
private String serviceName;
@JsonProperty("version_hash")
private String versionHash;
@JsonProperty("version")
private String version;
@JsonProperty("status")
private String status;
@JsonProperty("endpoints")
private List endpoints;
@JsonProperty("extra")
private Map extra = new HashMap<>();
@Override
public String getResponseBodyType() {
return "service_status";
}
}