Package codes.thischwa.cf.model
Class AbstractMultipleResponse<T extends ResponseEntity>
java.lang.Object
codes.thischwa.cf.model.AbstractResponse
codes.thischwa.cf.model.AbstractMultipleResponse<T>
- Type Parameters:
T
- Represents the type of entities contained within the response. For this class, it is expected to beResponseEntity
.
- Direct Known Subclasses:
RecordMultipleResponse
,ZoneMultipleResponse
Abstract base class for response models that contain multiple result entries.
This class is designed to handle API responses where multiple entities are part of the result
set, such as paginated or batched data. It extends AbstractResponse
to include additional
attributes specific to multi-entity responses.
Attributes:
- `resultInfo`: Provides metadata about the result set, such as pagination details like page number, total count, number of results per page, etc.
- `result`: A list of entities representing the main body of the response. The type of
entities in the result list is determined by the generic parameter
T
, which must extendResponseEntity
.
Subclasses can be created by specifying the entity type that the response should handle.
-
Method Summary