diff --git a/github/orgs_members.go b/github/orgs_members.go index 02eb13a..ae6f579 100644 --- a/github/orgs_members.go +++ b/github/orgs_members.go @@ -15,8 +15,17 @@ type Membership struct { // Possible values are: "active", "pending" State *string `json:"state,omitempty"` + // TODO(willnorris): add docs + Role *string `json:"role,omitempty"` + // For organization membership, the API URL of the organization. OrganizationURL *string `json:"organization_url,omitempty"` + + // For organization membership, the organization the membership is for. + Organization *Organization `json:"organization,omitempty"` + + // For organization membership, the user the membership is for. + User *User `json:"user,omitempty"` } func (m Membership) String() string {