public class PactResponse
Wraps the response for a Pact from the broker with the link data associated with the Pact document.
| Constructor and Description |
|---|
PactResponse(com.google.gson.JsonObject pactFile,
java.util.Map<java.lang.String,? extends java.util.Map<java.lang.String,? extends java.lang.Object>> links)
Wraps the response for a Pact from the broker with the link data associated with the Pact document.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
component1() |
java.util.Map<java.lang.String,java.util.Map> |
component2() |
PactResponse |
copy(com.google.gson.JsonObject pactFile,
java.util.Map<java.lang.String,? extends java.util.Map<java.lang.String,? extends java.lang.Object>> links)
Wraps the response for a Pact from the broker with the link data associated with the Pact document.
|
boolean |
equals(java.lang.Object p) |
java.util.Map<java.lang.String,java.util.Map> |
getLinks() |
com.google.gson.JsonObject |
getPactFile() |
int |
hashCode() |
java.lang.String |
toString() |
public PactResponse(com.google.gson.JsonObject pactFile,
java.util.Map<java.lang.String,? extends java.util.Map<java.lang.String,? extends java.lang.Object>> links)
Wraps the response for a Pact from the broker with the link data associated with the Pact document.
public com.google.gson.JsonObject getPactFile()
public java.util.Map<java.lang.String,java.util.Map> getLinks()
public com.google.gson.JsonObject component1()
public java.util.Map<java.lang.String,java.util.Map> component2()
public PactResponse copy(com.google.gson.JsonObject pactFile, java.util.Map<java.lang.String,? extends java.util.Map<java.lang.String,? extends java.lang.Object>> links)
Wraps the response for a Pact from the broker with the link data associated with the Pact document.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)