This code has been merged into cloudbees-api-client