
org.kohsuke.github.GHMeta Maven / Gradle / Ivy
The newest version!
package org.kohsuke.github;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
// TODO: Auto-generated Javadoc
/**
* 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 {
/**
* Create default GHMeta instance
*/
public GHMeta() {
}
@JsonProperty("verifiable_password_authentication")
private boolean verifiablePasswordAuthentication;
@JsonProperty("ssh_key_fingerprints")
private Map sshKeyFingerprints;
@JsonProperty("ssh_keys")
private List sshKeys;
private List hooks;
private List git;
private List web;
private List api;
private List pages;
private List importer = new ArrayList<>();
private List packages;
private List actions;
private List dependabot;
/**
* Is verifiable password authentication boolean.
*
* @return the boolean
*/
public boolean isVerifiablePasswordAuthentication() {
return verifiablePasswordAuthentication;
}
/**
* Gets ssh key fingerprints.
*
* @return the ssh key fingerprints
*/
public Map getSshKeyFingerprints() {
return Collections.unmodifiableMap(sshKeyFingerprints);
}
/**
* Gets ssh keys.
*
* @return the ssh keys
*/
public List getSshKeys() {
return Collections.unmodifiableList(sshKeys);
}
/**
* 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);
}
/**
* Gets package.
*
* @return the package
*/
public List getPackages() {
return Collections.unmodifiableList(packages);
}
/**
* Gets actions.
*
* @return the actions
*/
public List getActions() {
return Collections.unmodifiableList(actions);
}
/**
* Gets dependabot.
*
* @return the dependabot
*/
public List getDependabot() {
return Collections.unmodifiableList(dependabot);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy