public class GHMembership extends Object
GHMyself.listOrgMemberships()| Modifier and Type | Class and Description |
|---|---|
static class |
GHMembership.Role
Role of a user in an organization.
|
static class |
GHMembership.State
Whether a role is currently active or waiting for acceptance (pending)
|
| Constructor and Description |
|---|
GHMembership() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Accepts a pending invitation to an organization.
|
GHOrganization |
getOrganization() |
GHMembership.Role |
getRole() |
GHMembership.State |
getState() |
URL |
getUrl() |
GHUser |
getUser() |
public URL getUrl()
public GHMembership.State getState()
public GHMembership.Role getRole()
public GHUser getUser()
public GHOrganization getOrganization()
public void activate()
throws IOException
IOExceptionGHMyself.getMembership(GHOrganization)Copyright © 2017. All rights reserved.