Package codes.thischwa.cf.model
Klasse AbstractResponse
java.lang.Object
codes.thischwa.cf.model.AbstractResponse
- Bekannte direkte Unterklassen:
AbstractMultipleResponse,AbstractSingleResponse
Abstract base class for API response models.
This class encapsulates common attributes used to represent the result of an API request. It can be extended to define more specific response structures.
Attributes:
- success: Indicates whether the API request was successful.
- errors: A list of error messages, if any, returned by the API.
- messages: A list of informational or status messages accompanying the response.
This structure is designed for consistency and ease of extending response models in applications that require uniform response structures.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
AbstractResponse
public AbstractResponse()
-