
com.symphony.api.model.V2HealthCheckResponse Maven / Gradle / Ivy
package com.symphony.api.model;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.annotation.JsonCreator;
public class V2HealthCheckResponse {
@Schema(description = "Indicates whether the Agent server can connect to the Pod")
/**
* Indicates whether the Agent server can connect to the Pod
**/
private Boolean podConnectivity = null;
@Schema(description = "Error details in case of no Pod connectivity")
/**
* Error details in case of no Pod connectivity
**/
private String podConnectivityError = null;
@Schema(description = "Indicates whether the Agent server can connect to the Key Manager")
/**
* Indicates whether the Agent server can connect to the Key Manager
**/
private Boolean keyManagerConnectivity = null;
@Schema(description = "Error details in case of no Key Manager connectivity")
/**
* Error details in case of no Key Manager connectivity
**/
private String keyManagerConnectivityError = null;
@Schema(description = "Indicates whether the Agent server can connect to Firehose Service")
/**
* Indicates whether the Agent server can connect to Firehose Service
**/
private Boolean firehoseConnectivity = null;
@Schema(description = "Error details in case of no Firehose connectivity")
/**
* Error details in case of no Firehose connectivity
**/
private String firehoseConnectivityError = null;
@Schema(description = "Indicates whether the Agent can successfully decrypt and encrypt messages")
/**
* Indicates whether the Agent can successfully decrypt and encrypt messages
**/
private Boolean encryptDecryptSuccess = null;
@Schema(description = "Error details in case of the encryption or decryption of the message fails")
/**
* Error details in case of the encryption or decryption of the message fails
**/
private String encryptDecryptError = null;
@Schema(description = "The version number of the pod")
/**
* The version number of the pod
**/
private String podVersion = null;
@Schema(description = "The version number of the Agent server")
/**
* The version number of the Agent server
**/
private String agentVersion = null;
@Schema(description = "Indicates whether agent service user is setup correctly.")
/**
* Indicates whether agent service user is setup correctly.
**/
private Boolean agentServiceUser = null;
@Schema(description = "Error details in case agent service user is setup incorrectly.")
/**
* Error details in case agent service user is setup incorrectly.
**/
private String agentServiceUserError = null;
@Schema(description = "Indicates whether CEService user is setup correctly.")
/**
* Indicates whether CEService user is setup correctly.
**/
private Boolean ceServiceUser = null;
@Schema(description = "Error details in case CEService user is setup incorrectly.")
/**
* Error details in case CEService user is setup incorrectly.
**/
private String ceServiceUserError = null;
/**
* Indicates whether the Agent server can connect to the Pod
* @return podConnectivity
**/
@JsonProperty("podConnectivity")
public Boolean isPodConnectivity() {
return podConnectivity;
}
public void setPodConnectivity(Boolean podConnectivity) {
this.podConnectivity = podConnectivity;
}
public V2HealthCheckResponse podConnectivity(Boolean podConnectivity) {
this.podConnectivity = podConnectivity;
return this;
}
/**
* Error details in case of no Pod connectivity
* @return podConnectivityError
**/
@JsonProperty("podConnectivityError")
public String getPodConnectivityError() {
return podConnectivityError;
}
public void setPodConnectivityError(String podConnectivityError) {
this.podConnectivityError = podConnectivityError;
}
public V2HealthCheckResponse podConnectivityError(String podConnectivityError) {
this.podConnectivityError = podConnectivityError;
return this;
}
/**
* Indicates whether the Agent server can connect to the Key Manager
* @return keyManagerConnectivity
**/
@JsonProperty("keyManagerConnectivity")
public Boolean isKeyManagerConnectivity() {
return keyManagerConnectivity;
}
public void setKeyManagerConnectivity(Boolean keyManagerConnectivity) {
this.keyManagerConnectivity = keyManagerConnectivity;
}
public V2HealthCheckResponse keyManagerConnectivity(Boolean keyManagerConnectivity) {
this.keyManagerConnectivity = keyManagerConnectivity;
return this;
}
/**
* Error details in case of no Key Manager connectivity
* @return keyManagerConnectivityError
**/
@JsonProperty("keyManagerConnectivityError")
public String getKeyManagerConnectivityError() {
return keyManagerConnectivityError;
}
public void setKeyManagerConnectivityError(String keyManagerConnectivityError) {
this.keyManagerConnectivityError = keyManagerConnectivityError;
}
public V2HealthCheckResponse keyManagerConnectivityError(String keyManagerConnectivityError) {
this.keyManagerConnectivityError = keyManagerConnectivityError;
return this;
}
/**
* Indicates whether the Agent server can connect to Firehose Service
* @return firehoseConnectivity
**/
@JsonProperty("firehoseConnectivity")
public Boolean isFirehoseConnectivity() {
return firehoseConnectivity;
}
public void setFirehoseConnectivity(Boolean firehoseConnectivity) {
this.firehoseConnectivity = firehoseConnectivity;
}
public V2HealthCheckResponse firehoseConnectivity(Boolean firehoseConnectivity) {
this.firehoseConnectivity = firehoseConnectivity;
return this;
}
/**
* Error details in case of no Firehose connectivity
* @return firehoseConnectivityError
**/
@JsonProperty("firehoseConnectivityError")
public String getFirehoseConnectivityError() {
return firehoseConnectivityError;
}
public void setFirehoseConnectivityError(String firehoseConnectivityError) {
this.firehoseConnectivityError = firehoseConnectivityError;
}
public V2HealthCheckResponse firehoseConnectivityError(String firehoseConnectivityError) {
this.firehoseConnectivityError = firehoseConnectivityError;
return this;
}
/**
* Indicates whether the Agent can successfully decrypt and encrypt messages
* @return encryptDecryptSuccess
**/
@JsonProperty("encryptDecryptSuccess")
public Boolean isEncryptDecryptSuccess() {
return encryptDecryptSuccess;
}
public void setEncryptDecryptSuccess(Boolean encryptDecryptSuccess) {
this.encryptDecryptSuccess = encryptDecryptSuccess;
}
public V2HealthCheckResponse encryptDecryptSuccess(Boolean encryptDecryptSuccess) {
this.encryptDecryptSuccess = encryptDecryptSuccess;
return this;
}
/**
* Error details in case of the encryption or decryption of the message fails
* @return encryptDecryptError
**/
@JsonProperty("encryptDecryptError")
public String getEncryptDecryptError() {
return encryptDecryptError;
}
public void setEncryptDecryptError(String encryptDecryptError) {
this.encryptDecryptError = encryptDecryptError;
}
public V2HealthCheckResponse encryptDecryptError(String encryptDecryptError) {
this.encryptDecryptError = encryptDecryptError;
return this;
}
/**
* The version number of the pod
* @return podVersion
**/
@JsonProperty("podVersion")
public String getPodVersion() {
return podVersion;
}
public void setPodVersion(String podVersion) {
this.podVersion = podVersion;
}
public V2HealthCheckResponse podVersion(String podVersion) {
this.podVersion = podVersion;
return this;
}
/**
* The version number of the Agent server
* @return agentVersion
**/
@JsonProperty("agentVersion")
public String getAgentVersion() {
return agentVersion;
}
public void setAgentVersion(String agentVersion) {
this.agentVersion = agentVersion;
}
public V2HealthCheckResponse agentVersion(String agentVersion) {
this.agentVersion = agentVersion;
return this;
}
/**
* Indicates whether agent service user is setup correctly.
* @return agentServiceUser
**/
@JsonProperty("agentServiceUser")
public Boolean isAgentServiceUser() {
return agentServiceUser;
}
public void setAgentServiceUser(Boolean agentServiceUser) {
this.agentServiceUser = agentServiceUser;
}
public V2HealthCheckResponse agentServiceUser(Boolean agentServiceUser) {
this.agentServiceUser = agentServiceUser;
return this;
}
/**
* Error details in case agent service user is setup incorrectly.
* @return agentServiceUserError
**/
@JsonProperty("agentServiceUserError")
public String getAgentServiceUserError() {
return agentServiceUserError;
}
public void setAgentServiceUserError(String agentServiceUserError) {
this.agentServiceUserError = agentServiceUserError;
}
public V2HealthCheckResponse agentServiceUserError(String agentServiceUserError) {
this.agentServiceUserError = agentServiceUserError;
return this;
}
/**
* Indicates whether CEService user is setup correctly.
* @return ceServiceUser
**/
@JsonProperty("ceServiceUser")
public Boolean isCeServiceUser() {
return ceServiceUser;
}
public void setCeServiceUser(Boolean ceServiceUser) {
this.ceServiceUser = ceServiceUser;
}
public V2HealthCheckResponse ceServiceUser(Boolean ceServiceUser) {
this.ceServiceUser = ceServiceUser;
return this;
}
/**
* Error details in case CEService user is setup incorrectly.
* @return ceServiceUserError
**/
@JsonProperty("ceServiceUserError")
public String getCeServiceUserError() {
return ceServiceUserError;
}
public void setCeServiceUserError(String ceServiceUserError) {
this.ceServiceUserError = ceServiceUserError;
}
public V2HealthCheckResponse ceServiceUserError(String ceServiceUserError) {
this.ceServiceUserError = ceServiceUserError;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V2HealthCheckResponse {\n");
sb.append(" podConnectivity: ").append(toIndentedString(podConnectivity)).append("\n");
sb.append(" podConnectivityError: ").append(toIndentedString(podConnectivityError)).append("\n");
sb.append(" keyManagerConnectivity: ").append(toIndentedString(keyManagerConnectivity)).append("\n");
sb.append(" keyManagerConnectivityError: ").append(toIndentedString(keyManagerConnectivityError)).append("\n");
sb.append(" firehoseConnectivity: ").append(toIndentedString(firehoseConnectivity)).append("\n");
sb.append(" firehoseConnectivityError: ").append(toIndentedString(firehoseConnectivityError)).append("\n");
sb.append(" encryptDecryptSuccess: ").append(toIndentedString(encryptDecryptSuccess)).append("\n");
sb.append(" encryptDecryptError: ").append(toIndentedString(encryptDecryptError)).append("\n");
sb.append(" podVersion: ").append(toIndentedString(podVersion)).append("\n");
sb.append(" agentVersion: ").append(toIndentedString(agentVersion)).append("\n");
sb.append(" agentServiceUser: ").append(toIndentedString(agentServiceUser)).append("\n");
sb.append(" agentServiceUserError: ").append(toIndentedString(agentServiceUserError)).append("\n");
sb.append(" ceServiceUser: ").append(toIndentedString(ceServiceUser)).append("\n");
sb.append(" ceServiceUserError: ").append(toIndentedString(ceServiceUserError)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private static String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy