forked from hub4j/github-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGHMeta.java
More file actions
89 lines (78 loc) · 1.86 KB
/
GHMeta.java
File metadata and controls
89 lines (78 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
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>
*/
public class GHMeta {
@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;
private List<String> importer = new ArrayList<>();
/**
* Is verifiable password authentication boolean.
*
* @return the boolean
*/
public boolean isVerifiablePasswordAuthentication() {
return verifiablePasswordAuthentication;
}
/**
* Gets hooks.
*
* @return the hooks
*/
public List<String> getHooks() {
return Collections.unmodifiableList(hooks);
}
/**
* Gets git.
*
* @return the git
*/
public List<String> getGit() {
return Collections.unmodifiableList(git);
}
/**
* Gets web.
*
* @return the web
*/
public List<String> getWeb() {
return Collections.unmodifiableList(web);
}
/**
* Gets api.
*
* @return the api
*/
public List<String> getApi() {
return Collections.unmodifiableList(api);
}
/**
* Gets pages.
*
* @return the pages
*/
public List<String> getPages() {
return Collections.unmodifiableList(pages);
}
/**
* Gets importer.
*
* @return the importer
*/
public List<String> getImporter() {
return Collections.unmodifiableList(importer);
}
}