Class SendAndTrackLinkViewedDetails

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

public class SendAndTrackLinkViewedDetails extends Object
Send and Track Link Visited.
  • Field Details

    • linkSettings

      @Nonnull protected final LinkSettingsLogInfo linkSettings
    • emailAddress

      @Nullable protected final String emailAddress
    • linkOwner

      @Nullable protected final String linkOwner
  • Constructor Details

    • SendAndTrackLinkViewedDetails

      public SendAndTrackLinkViewedDetails(@Nonnull LinkSettingsLogInfo linkSettings, @Nullable String emailAddress, @Nullable String linkOwner)
      Send and Track Link Visited.

      Use newBuilder(com.dropbox.core.v2.teamlog.LinkSettingsLogInfo) to create instances of this class without specifying values for all optional fields.

      Parameters:
      linkSettings - Link Settings. Must not be null.
      emailAddress - Visitor Email address.
      linkOwner - Link Owner.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • SendAndTrackLinkViewedDetails

      public SendAndTrackLinkViewedDetails(@Nonnull LinkSettingsLogInfo linkSettings)
      Send and Track Link Visited.

      The default values for unset fields will be used.

      Parameters:
      linkSettings - Link Settings. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getLinkSettings

      @Nonnull public LinkSettingsLogInfo getLinkSettings()
      Link Settings.
      Returns:
      value for this field, never null.
    • getEmailAddress

      @Nullable public String getEmailAddress()
      Visitor Email address.
      Returns:
      value for this field, or null if not present.
    • getLinkOwner

      @Nullable public String getLinkOwner()
      Link Owner.
      Returns:
      value for this field, or null if not present.
    • newBuilder

      public static SendAndTrackLinkViewedDetails.Builder newBuilder(LinkSettingsLogInfo linkSettings)
      Returns a new builder for creating an instance of this class.
      Parameters:
      linkSettings - Link Settings. 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