Package com.dtsx.astra.sdk.utils
Class ApiResponse<DATA>
java.lang.Object
com.dtsx.astra.sdk.utils.ApiResponse<DATA>
- Type Parameters:
DATA
- returned data by astra
Wrapper for Astra API RESPONSE.
- Author:
- Cedrick LUNVEN (@clunven)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
Getter accessor for attribute 'data'.Getter accessor for attribute 'pageState'.void
Setter accessor for attribute 'data'.void
setPageState
(String pageState) Setter accessor for attribute 'pageState'.
-
Constructor Details
-
ApiResponse
public ApiResponse()Default constructor. -
ApiResponse
Default Constructor.- Parameters:
t
- DATA
-
-
Method Details
-
getData
Getter accessor for attribute 'data'.- Returns:
- current value of 'data'
-
getPageState
Getter accessor for attribute 'pageState'.- Returns:
- current value of 'pageState'
-
setPageState
Setter accessor for attribute 'pageState'.- Parameters:
pageState
- new value for 'pageState '
-
setData
Setter accessor for attribute 'data'.- Parameters:
data
- new value for 'data '
-