public class LiGetClientResponse extends java.lang.Object implements LiClientResponse<java.util.List<LiBaseModel>>
Constructor and Description |
---|
LiGetClientResponse(LiBaseResponse liBaseResponse,
java.lang.String type,
java.lang.Class<? extends LiBaseModel> baseModelClass,
Gson gson) |
Modifier and Type | Method and Description |
---|---|
int |
getHttpCode()
Returns Http Code.
|
JsonObject |
getJsonObject()
Returns Json Object.
|
java.lang.String |
getMessage()
Returns message.
|
java.util.List<LiBaseModel> |
getResponse()
Transforms LibaseResponse to corresponding data model.
|
java.lang.String |
getStatus()
Returns status.
|
java.util.Map<LiBrowse,java.util.List<LiBaseModel>> |
getTransformedResponse()
Returns map containing information of parent and all its child nodes.
|
public LiGetClientResponse(LiBaseResponse liBaseResponse, java.lang.String type, java.lang.Class<? extends LiBaseModel> baseModelClass, Gson gson)
public java.util.List<LiBaseModel> getResponse()
getResponse
in interface LiClientResponse<java.util.List<LiBaseModel>>
public java.util.Map<LiBrowse,java.util.List<LiBaseModel>> getTransformedResponse()
getTransformedResponse
in interface LiClientResponse<java.util.List<LiBaseModel>>
public java.lang.String getStatus()
LiClientResponse
getStatus
in interface LiClientResponse<java.util.List<LiBaseModel>>
public java.lang.String getMessage()
LiClientResponse
getMessage
in interface LiClientResponse<java.util.List<LiBaseModel>>
public int getHttpCode()
LiClientResponse
getHttpCode
in interface LiClientResponse<java.util.List<LiBaseModel>>
public JsonObject getJsonObject()
LiClientResponse
getJsonObject
in interface LiClientResponse<java.util.List<LiBaseModel>>