Package com.dropbox.core.v2.teamlog
Class GuestAdminChangeStatusDetails
java.lang.Object
com.dropbox.core.v2.teamlog.GuestAdminChangeStatusDetails
Changed guest team admin status.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final TrustedTeamsRequestActionprotected final Stringprotected final Stringprotected final booleanprotected final TrustedTeamsRequestStateprotected final TrustedTeamsRequestState -
Constructor Summary
ConstructorsConstructorDescriptionGuestAdminChangeStatusDetails(boolean isGuest, TrustedTeamsRequestState previousValue, TrustedTeamsRequestState newValue, TrustedTeamsRequestAction actionDetails) Changed guest team admin status.GuestAdminChangeStatusDetails(boolean isGuest, TrustedTeamsRequestState previousValue, TrustedTeamsRequestState newValue, TrustedTeamsRequestAction actionDetails, String guestTeamName, String hostTeamName) Changed guest team admin status. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAction details.The name of the guest team.The name of the host team.booleanTrue for guest, false for host.New request state.Previous request state.inthashCode()newBuilder(boolean isGuest, TrustedTeamsRequestState previousValue, TrustedTeamsRequestState newValue, TrustedTeamsRequestAction actionDetails) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
isGuest
protected final boolean isGuest -
guestTeamName
-
hostTeamName
-
previousValue
-
newValue
-
actionDetails
-
-
Constructor Details
-
GuestAdminChangeStatusDetails
public GuestAdminChangeStatusDetails(boolean isGuest, @Nonnull TrustedTeamsRequestState previousValue, @Nonnull TrustedTeamsRequestState newValue, @Nonnull TrustedTeamsRequestAction actionDetails, @Nullable String guestTeamName, @Nullable String hostTeamName) Changed guest team admin status.Use
newBuilder(boolean,com.dropbox.core.v2.teamlog.TrustedTeamsRequestState,com.dropbox.core.v2.teamlog.TrustedTeamsRequestState,com.dropbox.core.v2.teamlog.TrustedTeamsRequestAction)to create instances of this class without specifying values for all optional fields.- Parameters:
isGuest- True for guest, false for host.previousValue- Previous request state. Must not benull.newValue- New request state. Must not benull.actionDetails- Action details. Must not benull.guestTeamName- The name of the guest team.hostTeamName- The name of the host team.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
GuestAdminChangeStatusDetails
public GuestAdminChangeStatusDetails(boolean isGuest, @Nonnull TrustedTeamsRequestState previousValue, @Nonnull TrustedTeamsRequestState newValue, @Nonnull TrustedTeamsRequestAction actionDetails) Changed guest team admin status.The default values for unset fields will be used.
- Parameters:
isGuest- True for guest, false for host.previousValue- Previous request state. Must not benull.newValue- New request state. Must not benull.actionDetails- Action details. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getIsGuest
public boolean getIsGuest()True for guest, false for host.- Returns:
- value for this field.
-
getPreviousValue
Previous request state.- Returns:
- value for this field, never
null.
-
getNewValue
New request state.- Returns:
- value for this field, never
null.
-
getActionDetails
Action details.- Returns:
- value for this field, never
null.
-
getGuestTeamName
The name of the guest team.- Returns:
- value for this field, or
nullif not present.
-
getHostTeamName
The name of the host team.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
public static GuestAdminChangeStatusDetails.Builder newBuilder(boolean isGuest, TrustedTeamsRequestState previousValue, TrustedTeamsRequestState newValue, TrustedTeamsRequestAction actionDetails) Returns a new builder for creating an instance of this class.- Parameters:
isGuest- True for guest, false for host.previousValue- Previous request state. Must not benull.newValue- New request state. Must not benull.actionDetails- Action details. Must not benull.- Returns:
- builder for this class.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-