Package io.getstream.core.models
Class Reaction.Builder
- java.lang.Object
-
- io.getstream.core.models.Reaction.Builder
-
- Enclosing class:
- Reaction
public static final class Reaction.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reaction.Builder
activityData(java.util.Map<java.lang.String,java.lang.Object> activityData)
Reaction.Builder
activityID(java.lang.String activityID)
Reaction.Builder
appID(int appID)
Reaction
build()
Reaction.Builder
childrenCounts(java.util.Map<java.lang.String,java.lang.Number> childrenCounts)
Reaction.Builder
extra(java.util.Map<java.lang.String,java.lang.Object> extra)
Reaction.Builder
extraField(java.lang.String key, java.lang.Object value)
<T> Reaction.Builder
fromCustomReaction(T custom)
Reaction.Builder
fromReaction(Reaction reaction)
Reaction.Builder
id(java.lang.String id)
Reaction.Builder
kind(java.lang.String kind)
Reaction.Builder
latestChildren(java.util.Map<java.lang.String,java.util.List<Reaction>> latestChildren)
Reaction.Builder
ownChildren(java.util.Map<java.lang.String,java.util.List<Reaction>> ownChildren)
Reaction.Builder
parent(java.lang.String parent)
Reaction.Builder
userData(Data userData)
Reaction.Builder
userID(java.lang.String userID)
-
-
-
Method Detail
-
id
public Reaction.Builder id(java.lang.String id)
-
appID
public Reaction.Builder appID(int appID)
-
kind
public Reaction.Builder kind(java.lang.String kind)
-
userID
public Reaction.Builder userID(java.lang.String userID)
-
activityID
public Reaction.Builder activityID(java.lang.String activityID)
-
parent
public Reaction.Builder parent(java.lang.String parent)
-
ownChildren
public Reaction.Builder ownChildren(java.util.Map<java.lang.String,java.util.List<Reaction>> ownChildren)
-
latestChildren
public Reaction.Builder latestChildren(java.util.Map<java.lang.String,java.util.List<Reaction>> latestChildren)
-
childrenCounts
public Reaction.Builder childrenCounts(java.util.Map<java.lang.String,java.lang.Number> childrenCounts)
-
userData
public Reaction.Builder userData(Data userData)
-
extraField
public Reaction.Builder extraField(java.lang.String key, java.lang.Object value)
-
activityData
public Reaction.Builder activityData(java.util.Map<java.lang.String,java.lang.Object> activityData)
-
extra
public Reaction.Builder extra(java.util.Map<java.lang.String,java.lang.Object> extra)
-
fromReaction
public Reaction.Builder fromReaction(Reaction reaction)
-
fromCustomReaction
public <T> Reaction.Builder fromCustomReaction(T custom)
-
build
public Reaction build()
-
-