Class EventContext
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.search.EventContext
-
public class EventContext extends Object
Event context.
-
-
Field Summary
Fields Modifier and Type Field Description private LongafterLimitHow many events after the result are returned.private LongbeforeLimitHow many events before the result are returned.private BooleanincludeProfileRequests that the server returns the historic profile information for the users that sent the events that were returned.
-
Constructor Summary
Constructors Constructor Description EventContext()
-
Method Summary
Modifier and Type Method Description LonggetAfterLimit()LonggetBeforeLimit()BooleangetIncludeProfile()voidsetAfterLimit(Long afterLimit)voidsetBeforeLimit(Long beforeLimit)voidsetIncludeProfile(Boolean includeProfile)
-
-
-
Field Detail
-
beforeLimit
private Long beforeLimit
How many events before the result are returned.
-
afterLimit
private Long afterLimit
How many events after the result are returned.
-
includeProfile
private Boolean includeProfile
Requests that the server returns the historic profile information for the users that sent the events that were returned.
-
-
Method Detail
-
getBeforeLimit
public Long getBeforeLimit()
-
setBeforeLimit
public void setBeforeLimit(Long beforeLimit)
-
getAfterLimit
public Long getAfterLimit()
-
setAfterLimit
public void setAfterLimit(Long afterLimit)
-
getIncludeProfile
public Boolean getIncludeProfile()
-
setIncludeProfile
public void setIncludeProfile(Boolean includeProfile)
-
-