MessageType type = response.type();
CommandResponse commandResponse = response.asCommandResponse();
Long l2 = commandResponse.requestSeq();
boolean success = commandResponse.success();
SuccessCommandResponse successResponse = commandResponse.asSuccess();
Boolean running = successResponse.running();
Object body = successResponse.body();
List<?> refs = successResponse.refs();
SuccessCommandResponse successResponse2 = parser.parseSuccessCommandResponse(json);
response = null;
}