class ResponseAvailableMaps extends Response {

    public static ResponseAvailableMaps from(Sc2Api.Response sc2ApiResponse) {
        if (!hasAvailableMapsResponse(sc2ApiResponse)) {
            throw new IllegalArgumentException("provided argument doesn't have available maps response");
        }
        return new ResponseAvailableMaps(
                sc2ApiResponse.getAvailableMaps(),
                sc2ApiResponse.getStatus(),
                sc2ApiResponse.getId());
    }

    private  ResponseAvailableMaps(
            Sc2Api.ResponseAvailableMaps sc2ApiResponseAvailableMaps, Sc2Api.Status sc2ApiStatus, int id);

}