Class ContentSyncSetting

java.lang.Object
com.dropbox.core.v2.files.ContentSyncSetting

public class ContentSyncSetting extends Object
  • Field Details

    • id

      @Nonnull protected final String id
    • syncSetting

      @Nonnull protected final SyncSetting syncSetting
  • Constructor Details

    • ContentSyncSetting

      public ContentSyncSetting(@Nonnull String id, @Nonnull SyncSetting syncSetting)
      Parameters:
      id - Id of the item this setting is applied to. Must have length of at least 4, match pattern "id:.+", and not be null.
      syncSetting - Setting for this item. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getId

      @Nonnull public String getId()
      Id of the item this setting is applied to.
      Returns:
      value for this field, never null.
    • getSyncSetting

      @Nonnull public SyncSetting getSyncSetting()
      Setting for this item.
      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