@Generated(value={"Immutables.generator","_Member"}) public final class Member extends Object
Group| Modifier and Type | Class and Description |
|---|---|
static class |
Member.Builder
Builds instances of type
Member. |
| Modifier and Type | Method and Description |
|---|---|
static Member.Builder |
builder()
Creates a builder for
Member. |
boolean |
equals(Object another)
This instance is equal to all instances of
Member that have equal attribute values. |
Optional<Entity> |
getEntity()
Present only if requested with returnEntities; user or group with membership in the group
|
String |
getMemberId()
Globally unique identifier of the member, either a user ID or another group ID
|
Optional<String> |
getOrigin()
The alias of the identity provider that authenticated this user.
|
Optional<MemberType> |
getType()
The member type
|
int |
hashCode()
Computes a hash code from attributes:
entity, memberId, origin, type. |
String |
toString()
Prints the immutable value
Member with attribute values. |
public Optional<Entity> getEntity()
public String getMemberId()
public Optional<String> getOrigin()
public Optional<MemberType> getType()
public boolean equals(Object another)
Member that have equal attribute values.public int hashCode()
entity, memberId, origin, type.public String toString()
Member with attribute values.public static Member.Builder builder()
Member.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.