public class DeviceSessionArg
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
sessionId |
protected java.lang.String |
teamMemberId |
Constructor and Description |
---|
DeviceSessionArg(java.lang.String sessionId,
java.lang.String teamMemberId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSessionId()
The session id.
|
java.lang.String |
getTeamMemberId()
The unique id of the member owning the device.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String sessionId
protected final java.lang.String teamMemberId
public DeviceSessionArg(java.lang.String sessionId, java.lang.String teamMemberId)
sessionId
- The session id. Must not be null
.teamMemberId
- The unique id of the member owning the device. Must
not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getSessionId()
null
.public java.lang.String getTeamMemberId()
null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.