-
Notifications
You must be signed in to change notification settings - Fork 775
Expand file tree
/
Copy pathGHAppInstallationRequest.java
More file actions
41 lines (35 loc) · 1.13 KB
/
GHAppInstallationRequest.java
File metadata and controls
41 lines (35 loc) · 1.13 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
package org.kohsuke.github;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
/**
* A Github App Installation Request.
*
* @author Anuj Hydrabadi
* @see GHApp#listInstallationRequests() GHApp#listInstallationRequests()
*/
public class GHAppInstallationRequest extends GHObject {
private GHOrganization account;
private GHUser requester;
/**
* Create default GHAppInstallationRequest instance
*/
public GHAppInstallationRequest() {
}
/**
* Gets the organization where the app was requested to be installed.
*
* @return the organization where the app was requested to be installed.
*/
@SuppressFBWarnings(value = { "EI_EXPOSE_REP", "UWF_UNWRITTEN_FIELD" }, justification = "Expected behavior")
public GHOrganization getAccount() {
return account;
}
/**
* Gets the user who requested the installation.
*
* @return the user who requested the installation.
*/
@SuppressFBWarnings(value = { "EI_EXPOSE_REP", "UWF_UNWRITTEN_FIELD" }, justification = "Expected behavior")
public GHUser getRequester() {
return requester;
}
}