public class GroupCreateDetails
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GroupCreateDetails.Builder
Builder for
GroupCreateDetails . |
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
isCompanyManaged |
protected GroupJoinPolicy |
joinPolicy |
Constructor and Description |
---|
GroupCreateDetails()
Created group.
|
GroupCreateDetails(java.lang.Boolean isCompanyManaged,
GroupJoinPolicy joinPolicy)
Created group.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getIsCompanyManaged()
Is company managed group.
|
GroupJoinPolicy |
getJoinPolicy()
Group join policy.
|
int |
hashCode() |
static GroupCreateDetails.Builder |
newBuilder()
Returns a new builder for creating an instance of this class.
|
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.Boolean isCompanyManaged
protected final GroupJoinPolicy joinPolicy
public GroupCreateDetails(java.lang.Boolean isCompanyManaged, GroupJoinPolicy joinPolicy)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
isCompanyManaged
- Is company managed group. Might be missing due
to historical data gap.joinPolicy
- Group join policy.public GroupCreateDetails()
The default values for unset fields will be used.
public java.lang.Boolean getIsCompanyManaged()
null
if not present.public GroupJoinPolicy getJoinPolicy()
null
if not present.public static GroupCreateDetails.Builder newBuilder()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.