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()
Gets organization.
|
GHMembership.Role |
getRole()
Gets role.
|
GHMembership.State |
getState()
Gets state.
|
URL |
getUrl()
Gets url.
|
GHUser |
getUser()
Gets user.
|
public URL getUrl()
public GHMembership.State getState()
public GHMembership.Role getRole()
public GHUser getUser()
public GHOrganization getOrganization()
public void activate()
throws IOException
IOException - the io exceptionGHMyself#getMembership(GHOrganization)Copyright © 2020. All rights reserved.