Class GuestAdminChangeStatusDetails

java.lang.Object
com.dropbox.core.v2.teamlog.GuestAdminChangeStatusDetails

public class GuestAdminChangeStatusDetails extends Object
Changed guest team admin status.
  • Field Details

  • Constructor Details

  • Method Details

    • getIsGuest

      public boolean getIsGuest()
      True for guest, false for host.
      Returns:
      value for this field.
    • getPreviousValue

      @Nonnull public TrustedTeamsRequestState getPreviousValue()
      Previous request state.
      Returns:
      value for this field, never null.
    • getNewValue

      @Nonnull public TrustedTeamsRequestState getNewValue()
      New request state.
      Returns:
      value for this field, never null.
    • getActionDetails

      @Nonnull public TrustedTeamsRequestAction getActionDetails()
      Action details.
      Returns:
      value for this field, never null.
    • getGuestTeamName

      @Nullable public String getGuestTeamName()
      The name of the guest team.
      Returns:
      value for this field, or null if not present.
    • getHostTeamName

      @Nullable public String getHostTeamName()
      The name of the host team.
      Returns:
      value for this field, or null if 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 be null.
      newValue - New request state. Must not be null.
      actionDetails - Action details. Must not be null.
      Returns:
      builder for this class.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringMultiline

      public 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