Class PersonSearchResponseExtendedPayload


  • public class PersonSearchResponseExtendedPayload
    extends com.qivos.util.rest.common.envelope.SearchPayload<PersonResponseExtended>
    Payload class for representing the extended response of a person search. This class is a specific implementation of the SearchPayload that contains a list of PersonResponseExtended objects and additional pagination details such as whether more results are available and the total count of results.
    Author:
    nikritikos
    • Constructor Detail

      • PersonSearchResponseExtendedPayload

        public PersonSearchResponseExtendedPayload​(List<PersonResponseExtended> data,
                                                   Boolean hasMore,
                                                   Long totalCount)
        Constructs a new PersonSearchResponseExtendedPayload with the given search data, pagination information, and total count.
        Parameters:
        data - the list of person response objects for the search result
        hasMore - indicates whether more results are available beyond the current page
        totalCount - the total number of results available for the search