Package no.fintlabs.adapter.models.event
Class EventBodyResponse
- java.lang.Object
-
- no.fintlabs.adapter.models.event.EventBodyResponse
-
- All Implemented Interfaces:
java.io.Serializable
public class EventBodyResponse extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventBodyResponse.EventBodyResponseBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventBodyResponse.EventBodyResponseBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetMessage()This message should be set if something goes wrong.java.util.List<org.springframework.beans.factory.parsing.Problem>getProblems()Shows the problems the system has found when processing this event's request.ResponseStatusgetResponseStatus()Shows the status of the event that was processed by the adapter.java.lang.StringgetStatusCode()This status code should be set to some code that can be used to trace the origin of the error in the back end system.inthashCode()static EventBodyResponseofResponseEvent(ResponseFintEvent responseEvent)voidsetMessage(java.lang.String message)This message should be set if something goes wrong.voidsetProblems(java.util.List<org.springframework.beans.factory.parsing.Problem> problems)Shows the problems the system has found when processing this event's request.voidsetResponseStatus(ResponseStatus responseStatus)Shows the status of the event that was processed by the adapter.voidsetStatusCode(java.lang.String statusCode)This status code should be set to some code that can be used to trace the origin of the error in the back end system.java.lang.StringtoString()
-
-
-
Method Detail
-
ofResponseEvent
public static EventBodyResponse ofResponseEvent(ResponseFintEvent responseEvent)
-
builder
public static EventBodyResponse.EventBodyResponseBuilder builder()
-
getMessage
public java.lang.String getMessage()
This message should be set if something goes wrong. It should typically describe what went wrong, for example a stack trace or an error message.
-
getStatusCode
public java.lang.String getStatusCode()
This status code should be set to some code that can be used to trace the origin of the error in the back end system.
-
getResponseStatus
public ResponseStatus getResponseStatus()
Shows the status of the event that was processed by the adapter.
-
getProblems
public java.util.List<org.springframework.beans.factory.parsing.Problem> getProblems()
Shows the problems the system has found when processing this event's request.
-
setMessage
public void setMessage(java.lang.String message)
This message should be set if something goes wrong. It should typically describe what went wrong, for example a stack trace or an error message.
-
setStatusCode
public void setStatusCode(java.lang.String statusCode)
This status code should be set to some code that can be used to trace the origin of the error in the back end system.
-
setResponseStatus
public void setResponseStatus(ResponseStatus responseStatus)
Shows the status of the event that was processed by the adapter.
-
setProblems
public void setProblems(java.util.List<org.springframework.beans.factory.parsing.Problem> problems)
Shows the problems the system has found when processing this event's request.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-