Class PaperFolderChangeSubscriptionDetails

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

public class PaperFolderChangeSubscriptionDetails extends Object
Followed/unfollowed Paper folder.
  • Field Details

    • eventUuid

      @Nonnull protected final String eventUuid
    • newSubscriptionLevel

      @Nonnull protected final String newSubscriptionLevel
    • previousSubscriptionLevel

      @Nullable protected final String previousSubscriptionLevel
  • Constructor Details

    • PaperFolderChangeSubscriptionDetails

      public PaperFolderChangeSubscriptionDetails(@Nonnull String eventUuid, @Nonnull String newSubscriptionLevel, @Nullable String previousSubscriptionLevel)
      Followed/unfollowed Paper folder.
      Parameters:
      eventUuid - Event unique identifier. Must not be null.
      newSubscriptionLevel - New folder subscription level. Must not be null.
      previousSubscriptionLevel - Previous folder subscription level. Might be missing due to historical data gap.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • PaperFolderChangeSubscriptionDetails

      public PaperFolderChangeSubscriptionDetails(@Nonnull String eventUuid, @Nonnull String newSubscriptionLevel)
      Followed/unfollowed Paper folder.

      The default values for unset fields will be used.

      Parameters:
      eventUuid - Event unique identifier. Must not be null.
      newSubscriptionLevel - New folder subscription 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.
    • getNewSubscriptionLevel

      @Nonnull public String getNewSubscriptionLevel()
      New folder subscription level.
      Returns:
      value for this field, never null.
    • getPreviousSubscriptionLevel

      @Nullable public String getPreviousSubscriptionLevel()
      Previous folder subscription level. Might be missing due to historical data gap.
      Returns:
      value for this field, or null if not present.
    • 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