Class RelocateAssetReferencesLogInfo

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

public class RelocateAssetReferencesLogInfo extends Object
Provides the indices of the source asset and the destination asset for a relocate action.
  • Field Details

    • srcAssetIndex

      protected final long srcAssetIndex
    • destAssetIndex

      protected final long destAssetIndex
  • Constructor Details

    • RelocateAssetReferencesLogInfo

      public RelocateAssetReferencesLogInfo(long srcAssetIndex, long destAssetIndex)
      Provides the indices of the source asset and the destination asset for a relocate action.
      Parameters:
      srcAssetIndex - Source asset position in the Assets list.
      destAssetIndex - Destination asset position in the Assets list.
  • Method Details

    • getSrcAssetIndex

      public long getSrcAssetIndex()
      Source asset position in the Assets list.
      Returns:
      value for this field.
    • getDestAssetIndex

      public long getDestAssetIndex()
      Destination asset position in the Assets list.
      Returns:
      value for this field.
    • 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