Elsewhere in this library, whenever there are multiple forms of the same object, we map that to the same class and use lazy data retrieval to fill missing fields.
Java API for GitHub See http://github-api.kohsuke.org/ for more details