public LoadZone getLoadZone ( String id ) { return invoke ( LOAD_ZONES , id , null , null , new RequestClosure < JsonArray > ( ) { @ Override public JsonArray call ( Invocation . Builder request ) { return request . get ( JsonArray . class ) ; } } , new ResponseClosure < JsonArray , LoadZone > ( ) { @ Override public LoadZone call ( JsonArray json ) { return LoadZone . valueOf ( json . getJsonObject ( 0 ) ) ; } } ) ; }
Retrieves a load - zone .