All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kohsuke.github.GHMeta Maven / Gradle / Ivy

There is a newer version: 2.0.0-alpha-2
Show newest version
package org.kohsuke.github;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

// 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;
    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 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