Package com.ultikits.ultitools.entities
Class ApiResponse<T>
java.lang.Object
com.ultikits.ultitools.entities.ApiResponse<T>
- Type Parameters:
T- the type of the data payload
Deprecated, for removal: This API element is subject to removal in a future version.
Generic wrapper for backend API envelope responses.
The backend wraps all plugin-related endpoints in this format.
- Since:
- 6.2.0
- Author:
- wisdomme
- Scheduled removal version:
- 6.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringDeprecated, for removal: This API element is subject to removal in a future version.private TDeprecated, for removal: This API element is subject to removal in a future version.private StringDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
-
Field Details
-
code
Deprecated, for removal: This API element is subject to removal in a future version. -
msg
Deprecated, for removal: This API element is subject to removal in a future version. -
data
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
ApiResponse
public ApiResponse()Deprecated, for removal: This API element is subject to removal in a future version.
-
{code, msg, data}, which UltiCloud no longer serves. The protocol 2.0.0 catalogue answers{data: ...}and the framework parses it itself. Removed in 6.4.0.