mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-11 00:11:25 +00:00
120 lines
4.2 KiB
HTML
120 lines
4.2 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>GHMeta.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">GitHub API for Java</a> > <a href="index.source.html" class="el_package">org.kohsuke.github</a> > <span class="el_source">GHMeta.java</span></div><h1>GHMeta.java</h1><pre class="source lang-java linenums">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 <a href="https://developer.github.com/v3/meta/#meta">Get Meta</a>
|
|
*/
|
|
<span class="fc" id="L16">public class GHMeta {</span>
|
|
|
|
@JsonProperty("verifiable_password_authentication")
|
|
private boolean verifiablePasswordAuthentication;
|
|
private List<String> hooks;
|
|
private List<String> git;
|
|
private List<String> web;
|
|
private List<String> api;
|
|
private List<String> pages;
|
|
<span class="fc" id="L25"> private List<String> importer = new ArrayList<>();</span>
|
|
private List<String> packages;
|
|
private List<String> actions;
|
|
private List<String> dependabot;
|
|
|
|
/**
|
|
* Is verifiable password authentication boolean.
|
|
*
|
|
* @return the boolean
|
|
*/
|
|
public boolean isVerifiablePasswordAuthentication() {
|
|
<span class="fc" id="L36"> return verifiablePasswordAuthentication;</span>
|
|
}
|
|
|
|
/**
|
|
* Gets hooks.
|
|
*
|
|
* @return the hooks
|
|
*/
|
|
public List<String> getHooks() {
|
|
<span class="fc" id="L45"> return Collections.unmodifiableList(hooks);</span>
|
|
}
|
|
|
|
/**
|
|
* Gets git.
|
|
*
|
|
* @return the git
|
|
*/
|
|
public List<String> getGit() {
|
|
<span class="fc" id="L54"> return Collections.unmodifiableList(git);</span>
|
|
}
|
|
|
|
/**
|
|
* Gets web.
|
|
*
|
|
* @return the web
|
|
*/
|
|
public List<String> getWeb() {
|
|
<span class="fc" id="L63"> return Collections.unmodifiableList(web);</span>
|
|
}
|
|
|
|
/**
|
|
* Gets api.
|
|
*
|
|
* @return the api
|
|
*/
|
|
public List<String> getApi() {
|
|
<span class="fc" id="L72"> return Collections.unmodifiableList(api);</span>
|
|
}
|
|
|
|
/**
|
|
* Gets pages.
|
|
*
|
|
* @return the pages
|
|
*/
|
|
public List<String> getPages() {
|
|
<span class="fc" id="L81"> return Collections.unmodifiableList(pages);</span>
|
|
}
|
|
|
|
/**
|
|
* Gets importer.
|
|
*
|
|
* @return the importer
|
|
*/
|
|
public List<String> getImporter() {
|
|
<span class="fc" id="L90"> return Collections.unmodifiableList(importer);</span>
|
|
}
|
|
|
|
/**
|
|
* Gets package.
|
|
*
|
|
* @return the package
|
|
*/
|
|
public List<String> getPackages() {
|
|
<span class="fc" id="L99"> return Collections.unmodifiableList(packages);</span>
|
|
}
|
|
|
|
/**
|
|
* Gets actions.
|
|
*
|
|
* @return the actions
|
|
*/
|
|
public List<String> getActions() {
|
|
<span class="fc" id="L108"> return Collections.unmodifiableList(actions);</span>
|
|
}
|
|
|
|
/**
|
|
* Gets dependabot.
|
|
*
|
|
* @return the dependabot
|
|
*/
|
|
public List<String> getDependabot() {
|
|
<span class="fc" id="L117"> return Collections.unmodifiableList(dependabot);</span>
|
|
}
|
|
}
|
|
</pre><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.7.202105040129</span></div></body></html> |