mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 08:21:23 +00:00
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.
20 lines
468 B
Java
20 lines
468 B
Java
package org.kohsuke.github;
|
|
|
|
/**
|
|
* {@link GHContent} with license information.
|
|
*
|
|
* @author Kohsuke Kawaguchi
|
|
* @see <a href="https://developer.github.com/v3/licenses/#get-a-repositorys-license">documentation</a>
|
|
* @see GHRepository#getLicense()
|
|
*/
|
|
@Preview @Deprecated
|
|
class GHContentWithLicense extends GHContent {
|
|
GHLicense license;
|
|
|
|
@Override
|
|
GHContentWithLicense wrap(GHRepository owner) {
|
|
super.wrap(owner);
|
|
return this;
|
|
}
|
|
}
|