public class Session
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Session() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getDuration()
Returns the value of the Duration property for this object.
|
java.lang.String |
getId()
Returns the value of the Id property for this object.
|
java.lang.String |
getStartTimestamp()
Returns the value of the StartTimestamp property for this object.
|
java.lang.String |
getStopTimestamp()
Returns the value of the StopTimestamp property for this object.
|
int |
hashCode() |
void |
setDuration(java.lang.Long duration)
Sets the value of the Duration property for this object.
|
void |
setId(java.lang.String id)
Sets the value of the Id property for this object.
|
void |
setStartTimestamp(java.lang.String startTimestamp)
Sets the value of the StartTimestamp property for this object.
|
void |
setStopTimestamp(java.lang.String stopTimestamp)
Sets the value of the StopTimestamp property for this object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Session |
withDuration(java.lang.Long duration)
Sets the value of the Duration property for this object.
|
Session |
withId(java.lang.String id)
Sets the value of the Id property for this object.
|
Session |
withStartTimestamp(java.lang.String startTimestamp)
Sets the value of the StartTimestamp property for this object.
|
Session |
withStopTimestamp(java.lang.String stopTimestamp)
Sets the value of the StopTimestamp property for this object.
|
public java.lang.String getId()
Constraints:
Length: 1 - 50
public void setId(java.lang.String id)
Constraints:
Length: 1 - 50
id - The new value for the Id property for this object.public Session withId(java.lang.String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
id - The new value for the Id property for this object.public java.lang.Long getDuration()
public void setDuration(java.lang.Long duration)
duration - The new value for the Duration property for this object.public Session withDuration(java.lang.Long duration)
Returns a reference to this object so that method calls can be chained together.
duration - The new value for the Duration property for this object.public java.lang.String getStartTimestamp()
public void setStartTimestamp(java.lang.String startTimestamp)
startTimestamp - The new value for the StartTimestamp property for this object.public Session withStartTimestamp(java.lang.String startTimestamp)
Returns a reference to this object so that method calls can be chained together.
startTimestamp - The new value for the StartTimestamp property for this object.public java.lang.String getStopTimestamp()
public void setStopTimestamp(java.lang.String stopTimestamp)
stopTimestamp - The new value for the StopTimestamp property for this object.public Session withStopTimestamp(java.lang.String stopTimestamp)
Returns a reference to this object so that method calls can be chained together.
stopTimestamp - The new value for the StopTimestamp property for this object.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object