Class DeviceSessionArg

java.lang.Object
com.dropbox.core.v2.team.DeviceSessionArg
Direct Known Subclasses:
RevokeDesktopClientArg

public class DeviceSessionArg extends Object
  • Field Details

    • sessionId

      @Nonnull protected final String sessionId
    • teamMemberId

      @Nonnull protected final String teamMemberId
  • Constructor Details

    • DeviceSessionArg

      public DeviceSessionArg(@Nonnull String sessionId, @Nonnull String teamMemberId)
      Parameters:
      sessionId - The session id. Must not be null.
      teamMemberId - The unique id of the member owning the device. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getSessionId

      @Nonnull public String getSessionId()
      The session id.
      Returns:
      value for this field, never null.
    • getTeamMemberId

      @Nonnull public String getTeamMemberId()
      The unique id of the member owning the device.
      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