Package de.cerus.cneoswrapper.http
Class ApiResponse<T>
- java.lang.Object
-
- de.cerus.cneoswrapper.http.ApiResponse<T>
-
- Type Parameters:
T- The response
public class ApiResponse<T> extends java.lang.ObjectRepresents a API response with an optional throwable.- Author:
- Maximilian Dorn
-
-
Constructor Summary
Constructors Constructor Description ApiResponse(T data, java.lang.Throwable error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetData()java.lang.ThrowablegetError()
-