Class PaperChangeDeploymentPolicyDetails

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

public class PaperChangeDeploymentPolicyDetails extends Object
Changed whether Dropbox Paper, when enabled, is deployed to all members or to specific members.
  • Field Details

  • Constructor Details

    • PaperChangeDeploymentPolicyDetails

      public PaperChangeDeploymentPolicyDetails(@Nonnull PaperDeploymentPolicy newValue, @Nullable PaperDeploymentPolicy previousValue)
      Changed whether Dropbox Paper, when enabled, is deployed to all members or to specific members.
      Parameters:
      newValue - New Dropbox Paper deployment policy. Must not be null.
      previousValue - Previous Dropbox Paper deployment policy. Might be missing due to historical data gap.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • PaperChangeDeploymentPolicyDetails

      public PaperChangeDeploymentPolicyDetails(@Nonnull PaperDeploymentPolicy newValue)
      Changed whether Dropbox Paper, when enabled, is deployed to all members or to specific members.

      The default values for unset fields will be used.

      Parameters:
      newValue - New Dropbox Paper deployment policy. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getNewValue

      @Nonnull public PaperDeploymentPolicy getNewValue()
      New Dropbox Paper deployment policy.
      Returns:
      value for this field, never null.
    • getPreviousValue

      @Nullable public PaperDeploymentPolicy getPreviousValue()
      Previous Dropbox Paper deployment policy. 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