Class ProtectInternalDomainsChangedDetails

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

public class ProtectInternalDomainsChangedDetails extends Object
Modified Protect internal domains list.
  • Field Details

    • domainsAdded

      @Nullable protected final List<String> domainsAdded
    • domainsRemoved

      @Nullable protected final List<String> domainsRemoved
  • Constructor Details

    • ProtectInternalDomainsChangedDetails

      public ProtectInternalDomainsChangedDetails(@Nullable List<String> domainsAdded, @Nullable List<String> domainsRemoved)
      Modified Protect internal domains list.

      Use newBuilder() to create instances of this class without specifying values for all optional fields.

      Parameters:
      domainsAdded - Domains added to the internal domains list. Must not contain a null item.
      domainsRemoved - Domains removed from the internal domains list. Must not contain a null item.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • ProtectInternalDomainsChangedDetails

      public ProtectInternalDomainsChangedDetails()
      Modified Protect internal domains list.

      The default values for unset fields will be used.

  • Method Details

    • getDomainsAdded

      @Nullable public List<String> getDomainsAdded()
      Domains added to the internal domains list.
      Returns:
      value for this field, or null if not present.
    • getDomainsRemoved

      @Nullable public List<String> getDomainsRemoved()
      Domains removed from the internal domains list.
      Returns:
      value for this field, or null if not present.
    • newBuilder

      Returns a new builder for creating an instance of this class.
      Returns:
      builder for this class.
    • 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