Class Response<T>
java.lang.Object
com.bayudwiyansatria.spring.model.Response<T>
Response
This class represents a response object that holds a message, status, and data. It is annotated
with @Data
from Lombok to generate getters, setters, and other utility methods.
The message
field holds the response message.
The status
field indicates the success or failure of the response.
The data
field holds the response payload.
- Since:
- 0.0.1
- Version:
- 0.0.1
- Author:
- Bayu Dwiyan Satria
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Response
Constructs a new Response with the specified message, status, and data.- Parameters:
message
- the response messagestatus
- the status of the responsedata
- data the additional data related to the response
-