public class AlphaGroupCreateArg extends GroupCreateArg
| Modifier and Type | Class and Description |
|---|---|
static class |
AlphaGroupCreateArg.Builder
Builder for
AlphaGroupCreateArg. |
| Modifier and Type | Field and Description |
|---|---|
protected GroupManagementType |
groupManagementType |
groupExternalId, groupName| Constructor and Description |
|---|
AlphaGroupCreateArg(String groupName)
The default values for unset fields will be used.
|
AlphaGroupCreateArg(String groupName,
String groupExternalId,
GroupManagementType groupManagementType)
Use
newBuilder to create instances of this class without
specifying values for all optional fields. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
GroupManagementType |
getGroupManagementType()
Whether the team can be managed by selected users, or only by team admins
|
int |
hashCode() |
static AlphaGroupCreateArg.Builder |
newBuilder(String groupName)
Returns a new builder for creating an instance of this class.
|
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
getGroupExternalId, getGroupNameprotected final GroupManagementType groupManagementType
public AlphaGroupCreateArg(String groupName, String groupExternalId, GroupManagementType groupManagementType)
newBuilder to create instances of this class without
specifying values for all optional fields.groupName - Group name. Must not be null.groupExternalId - The creator of a team can associate an arbitrary
external ID to the group.groupManagementType - Whether the team can be managed by selected
users, or only by team admins.IllegalArgumentException - If any argument does not meet its
preconditions.public AlphaGroupCreateArg(String groupName)
groupName - Group name. Must not be null.IllegalArgumentException - If any argument does not meet its
preconditions.public GroupManagementType getGroupManagementType()
null if not present. Defaults to
GroupManagementType.COMPANY_MANAGED.public static AlphaGroupCreateArg.Builder newBuilder(String groupName)
groupName - Group name. Must not be null.IllegalArgumentException - If any argument does not meet its
preconditions.public int hashCode()
hashCode in class GroupCreateArgpublic boolean equals(Object obj)
equals in class GroupCreateArgpublic String toString()
toString in class GroupCreateArgpublic String toStringMultiline()
The returned String may contain newlines.
toStringMultiline in class GroupCreateArg