public class GroupUserManagementChangePolicyDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected GroupCreation |
newValue |
protected GroupCreation |
previousValue |
Constructor and Description |
---|
GroupUserManagementChangePolicyDetails(GroupCreation newValue)
Changed who can create groups.
|
GroupUserManagementChangePolicyDetails(GroupCreation newValue,
GroupCreation previousValue)
Changed who can create groups.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
GroupCreation |
getNewValue()
New group users management policy.
|
GroupCreation |
getPreviousValue()
Previous group users management policy.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final GroupCreation newValue
protected final GroupCreation previousValue
public GroupUserManagementChangePolicyDetails(GroupCreation newValue, GroupCreation previousValue)
newValue
- New group users management policy. Must not be null
.previousValue
- Previous group users management policy. Might be
missing due to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public GroupUserManagementChangePolicyDetails(GroupCreation newValue)
The default values for unset fields will be used.
newValue
- New group users management policy. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public GroupCreation getNewValue()
null
.public GroupCreation getPreviousValue()
null
if not present.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.