public class ParticipantTimerValue
extends java.lang.Object
implements java.io.Serializable
The value of the timer. Either the timer action (Unset to delete
the timer), or the duration of the timer in minutes. Only one value can be
set.
For more information about how chat timeouts work, see Set up chat timeouts for human participants.
| Constructor and Description |
|---|
ParticipantTimerValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getParticipantTimerAction()
The timer action.
|
java.lang.Integer |
getParticipantTimerDurationInMinutes()
The duration of a timer, in minutes.
|
int |
hashCode() |
void |
setParticipantTimerAction(ParticipantTimerAction participantTimerAction)
The timer action.
|
void |
setParticipantTimerAction(java.lang.String participantTimerAction)
The timer action.
|
void |
setParticipantTimerDurationInMinutes(java.lang.Integer participantTimerDurationInMinutes)
The duration of a timer, in minutes.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ParticipantTimerValue |
withParticipantTimerAction(ParticipantTimerAction participantTimerAction)
The timer action.
|
ParticipantTimerValue |
withParticipantTimerAction(java.lang.String participantTimerAction)
The timer action.
|
ParticipantTimerValue |
withParticipantTimerDurationInMinutes(java.lang.Integer participantTimerDurationInMinutes)
The duration of a timer, in minutes.
|
public java.lang.String getParticipantTimerAction()
The timer action. Currently only one value is allowed: Unset
. It deletes a timer.
Constraints:
Allowed Values: Unset
The timer action. Currently only one value is allowed:
Unset. It deletes a timer.
ParticipantTimerActionpublic void setParticipantTimerAction(java.lang.String participantTimerAction)
The timer action. Currently only one value is allowed: Unset
. It deletes a timer.
Constraints:
Allowed Values: Unset
participantTimerAction -
The timer action. Currently only one value is allowed:
Unset. It deletes a timer.
ParticipantTimerActionpublic ParticipantTimerValue withParticipantTimerAction(java.lang.String participantTimerAction)
The timer action. Currently only one value is allowed: Unset
. It deletes a timer.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Unset
participantTimerAction -
The timer action. Currently only one value is allowed:
Unset. It deletes a timer.
ParticipantTimerActionpublic void setParticipantTimerAction(ParticipantTimerAction participantTimerAction)
The timer action. Currently only one value is allowed: Unset
. It deletes a timer.
Constraints:
Allowed Values: Unset
participantTimerAction -
The timer action. Currently only one value is allowed:
Unset. It deletes a timer.
ParticipantTimerActionpublic ParticipantTimerValue withParticipantTimerAction(ParticipantTimerAction participantTimerAction)
The timer action. Currently only one value is allowed: Unset
. It deletes a timer.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Unset
participantTimerAction -
The timer action. Currently only one value is allowed:
Unset. It deletes a timer.
ParticipantTimerActionpublic java.lang.Integer getParticipantTimerDurationInMinutes()
The duration of a timer, in minutes.
Constraints:
Range: 2 - 480
The duration of a timer, in minutes.
public void setParticipantTimerDurationInMinutes(java.lang.Integer participantTimerDurationInMinutes)
The duration of a timer, in minutes.
Constraints:
Range: 2 - 480
participantTimerDurationInMinutes - The duration of a timer, in minutes.
public ParticipantTimerValue withParticipantTimerDurationInMinutes(java.lang.Integer participantTimerDurationInMinutes)
The duration of a timer, in minutes.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 2 - 480
participantTimerDurationInMinutes - The duration of a timer, in minutes.
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