Package com.dropbox.core.v2.team
Class GroupMembersChangeResult
- java.lang.Object
-
- com.dropbox.core.v2.team.GroupMembersChangeResult
-
public class GroupMembersChangeResult extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
asyncJobId
protected GroupFullInfo
groupInfo
-
Constructor Summary
Constructors Constructor Description GroupMembersChangeResult(GroupFullInfo groupInfo, java.lang.String asyncJobId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAsyncJobId()
For legacy purposes async_job_id will always return one space ' '.GroupFullInfo
getGroupInfo()
The group info after member change operation has been performed.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
groupInfo
@Nonnull protected final GroupFullInfo groupInfo
-
asyncJobId
@Nonnull protected final java.lang.String asyncJobId
-
-
Constructor Detail
-
GroupMembersChangeResult
public GroupMembersChangeResult(@Nonnull GroupFullInfo groupInfo, @Nonnull java.lang.String asyncJobId)
Result returned byDbxTeamTeamRequests.groupsMembersAdd(GroupSelector,java.util.List,boolean)
andDbxTeamTeamRequests.groupsMembersRemove(GroupSelector,java.util.List,boolean)
.- Parameters:
groupInfo
- The group info after member change operation has been performed. Must not benull
.asyncJobId
- For legacy purposes async_job_id will always return one space ' '. Formerly, it was an ID that was used to obtain the status of granting/revoking group-owned resources. It's no longer necessary because the async processing now happens automatically. Must have length of at least 1 and not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getGroupInfo
@Nonnull public GroupFullInfo getGroupInfo()
The group info after member change operation has been performed.- Returns:
- value for this field, never
null
.
-
getAsyncJobId
@Nonnull public java.lang.String getAsyncJobId()
For legacy purposes async_job_id will always return one space ' '. Formerly, it was an ID that was used to obtain the status of granting/revoking group-owned resources. It's no longer necessary because the async processing now happens automatically.- Returns:
- value for this field, never
null
.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-
-