Class PaperPublishedLinkChangePermissionDetails

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

public class PaperPublishedLinkChangePermissionDetails extends Object
Changed permissions for published doc.
  • Field Details

    • eventUuid

      @Nonnull protected final String eventUuid
    • newPermissionLevel

      @Nonnull protected final String newPermissionLevel
    • previousPermissionLevel

      @Nonnull protected final String previousPermissionLevel
  • Constructor Details

    • PaperPublishedLinkChangePermissionDetails

      public PaperPublishedLinkChangePermissionDetails(@Nonnull String eventUuid, @Nonnull String newPermissionLevel, @Nonnull String previousPermissionLevel)
      Changed permissions for published doc.
      Parameters:
      eventUuid - Event unique identifier. Must not be null.
      newPermissionLevel - New permission level. Must not be null.
      previousPermissionLevel - Previous permission level. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getEventUuid

      @Nonnull public String getEventUuid()
      Event unique identifier.
      Returns:
      value for this field, never null.
    • getNewPermissionLevel

      @Nonnull public String getNewPermissionLevel()
      New permission level.
      Returns:
      value for this field, never null.
    • getPreviousPermissionLevel

      @Nonnull public String getPreviousPermissionLevel()
      Previous permission level.
      Returns:
      value for this field, never null.
    • 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