} catch (HttpClientErrorException hcee) {
throw new ZencoderClientException(hcee.getResponseBodyAsString(), hcee);
}
ZencoderJobDetailResponse job_details = null;
try {
job_details = mapper.readValue(response.getBody(), ZencoderJobDetailResponse.class);
} catch (Exception e) {
throw new ZencoderClientException(
"Unable to deserialize ZencoderCreateJobResponse as JSON",
e);
}
return job_details.getJob();
}