package org.kohsuke.github; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * Class that wraps the list of GitHub's IP addresses. * * @author Paulo Miguel Almeida * @see GitHub#getMeta() GitHub#getMeta() * @see Get Meta */ public class GHMeta { @JsonProperty("verifiable_password_authentication") private boolean verifiablePasswordAuthentication; private List hooks; private List git; private List web; private List api; private List pages; private List importer = new ArrayList<>(); /** * Is verifiable password authentication boolean. * * @return the boolean */ public boolean isVerifiablePasswordAuthentication() { return verifiablePasswordAuthentication; } /** * Gets hooks. * * @return the hooks */ public List getHooks() { return Collections.unmodifiableList(hooks); } /** * Gets git. * * @return the git */ public List getGit() { return Collections.unmodifiableList(git); } /** * Gets web. * * @return the web */ public List getWeb() { return Collections.unmodifiableList(web); } /** * Gets api. * * @return the api */ public List getApi() { return Collections.unmodifiableList(api); } /** * Gets pages. * * @return the pages */ public List getPages() { return Collections.unmodifiableList(pages); } /** * Gets importer. * * @return the importer */ public List getImporter() { return Collections.unmodifiableList(importer); } }