Package com.longbridge.quote
Class UpdateWatchlistGroup
- java.lang.Object
-
- com.longbridge.quote.UpdateWatchlistGroup
-
public class UpdateWatchlistGroup extends Object
Request object for updating a watchlist group
-
-
Constructor Summary
Constructors Constructor Description UpdateWatchlistGroup(long id)Constructs an update-watchlist-group request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateWatchlistGroupsetMode(SecuritiesUpdateMode mode)Sets the update mode (add, remove, or replace).UpdateWatchlistGroupsetName(String name)Sets the new group name.UpdateWatchlistGroupsetSecurities(String[] securities)Sets the securities in the group.
-
-
-
Method Detail
-
setName
public UpdateWatchlistGroup setName(String name)
Sets the new group name.- Parameters:
name- new name- Returns:
- this instance for chaining
-
setSecurities
public UpdateWatchlistGroup setSecurities(String[] securities)
Sets the securities in the group.- Parameters:
securities- security symbols- Returns:
- this instance for chaining
-
setMode
public UpdateWatchlistGroup setMode(SecuritiesUpdateMode mode)
Sets the update mode (add, remove, or replace).- Parameters:
mode- update mode- Returns:
- this instance for chaining
-
-