public class InfoResponse extends ServiceResponse
{"id":"JlkwZvmHAXCQGwwxiPwaBJ","name":"MyService","version":"0.0.1","endpoints":[{"name":"MyEndpoint","subject":"myend"}],"type":"io.nats.micro.v1.info_response"}
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDescription()
Description for the service
|
java.util.List<Endpoint> |
getEndpoints()
List of endpoints
|
int |
hashCode() |
protected void |
subToJson(java.lang.StringBuilder sb) |
getId, getMetadata, getName, getType, getVersion, parseMessage, toJson, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
serialize, toJsonValue
public static final java.lang.String TYPE
protected void subToJson(java.lang.StringBuilder sb)
subToJson
in class ServiceResponse
public java.lang.String getDescription()
public java.util.List<Endpoint> getEndpoints()
public boolean equals(java.lang.Object o)
equals
in class ServiceResponse
public int hashCode()
hashCode
in class ServiceResponse