public class JoinParticipantsData extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
fromBeginning |
protected Duration |
fromDuration |
protected String |
fromMessageId |
protected boolean |
fromNow |
protected Integer |
fromPastMessagesCount |
protected Date |
fromTime |
protected Collection<String> |
newParticipantIds |
Constructor and Description |
---|
JoinParticipantsData(Collection<String> newParticipantIds) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkIfNotYetSet() |
Duration |
getFromDuration() |
String |
getFromMessageId() |
Integer |
getFromPastMessagesCount() |
Date |
getFromTime() |
Collection<String> |
getNewParticipantIds() |
boolean |
hasDuration() |
boolean |
hasFromTime() |
boolean |
hasMessageId() |
boolean |
hasPastMessagesCount() |
boolean |
isDefault() |
boolean |
isFromBeginning() |
boolean |
isFromNow() |
void |
setFromBeginning() |
void |
setFromDuration(Duration fromDuration) |
void |
setFromMessageId(String fromMessageId) |
void |
setFromNow() |
void |
setFromPastMessagesCount(Integer fromPastMessagesCount) |
void |
setFromTime(Date fromTime) |
protected final Collection<String> newParticipantIds
protected boolean fromNow
protected boolean fromBeginning
protected Date fromTime
protected String fromMessageId
protected Integer fromPastMessagesCount
protected Duration fromDuration
public JoinParticipantsData(Collection<String> newParticipantIds)
protected void checkIfNotYetSet()
public boolean isDefault()
public Collection<String> getNewParticipantIds()
public boolean isFromNow()
public void setFromNow()
public boolean isFromBeginning()
public void setFromBeginning()
public boolean hasFromTime()
public Date getFromTime()
public void setFromTime(Date fromTime)
public boolean hasMessageId()
public String getFromMessageId()
public void setFromMessageId(String fromMessageId)
public boolean hasPastMessagesCount()
public Integer getFromPastMessagesCount()
public void setFromPastMessagesCount(Integer fromPastMessagesCount)
public boolean hasDuration()
public Duration getFromDuration()
public void setFromDuration(Duration fromDuration)