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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitserialize, toJsonValuepublic static final java.lang.String TYPE
protected void subToJson(java.lang.StringBuilder sb)
subToJson in class ServiceResponsepublic java.lang.String getDescription()
public java.util.List<Endpoint> getEndpoints()
public boolean equals(java.lang.Object o)
equals in class ServiceResponsepublic int hashCode()
hashCode in class ServiceResponse