Class Data<T>

java.lang.Object
com.avoka.tm.vo.v1.Data<T>

public class Data<T> extends Object
Data Object Model helper class used to view response object in swagger api. It is not used to hold model objects
Since:
24.10.0
  • Constructor Details

    • Data

      public Data()
  • Method Details

    • getData

      public List<T> getData()
      gets data
      Returns:
      data
    • getNumberOfPages

      public int getNumberOfPages()
      gets numberOfPages
      Returns:
      numberOfPages
    • getPageSize

      public int getPageSize()
      gets pageSize
      Returns:
      pageSize
    • getTotalElements

      public int getTotalElements()
      gets totalElements
      Returns:
      totalElements
    • getIsFirst

      public boolean getIsFirst()
      gets isFirst
      Returns:
      isFirst
    • getIsLast

      public boolean getIsLast()
      gets isLast
      Returns:
      isLast
    • getCurrentPageNumber

      public int getCurrentPageNumber()
      gets currentPageNumber
      Returns:
      currentPageNumber
    • getNumberOfElements

      public int getNumberOfElements()
      gets numberOfElements
      Returns:
      numberOfElements