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 class
EventBodyResponse.EventBodyResponseBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventBodyResponse.EventBodyResponseBuilder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getMessage()
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.ResponseStatus
getResponseStatus()
Shows the status of the event that was processed by the adapter.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.int
hashCode()
static EventBodyResponse
ofResponseEvent(ResponseFintEvent responseEvent)
void
setMessage(java.lang.String message)
This message should be set if something goes wrong.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.void
setResponseStatus(ResponseStatus responseStatus)
Shows the status of the event that was processed by the adapter.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.java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-