Signature
Section titled “Signature”public class TikTokGiftsManager implements GiftsManagerConstructors
Section titled “Constructors”TikTokGiftsManager
Section titled “TikTokGiftsManager”public TikTokGiftsManager(List<Gift> giftList)Parameters
Section titled “Parameters”giftList(List<Gift>)
Methods
Section titled “Methods”attachGift
Section titled “attachGift”public void attachGift(Gift gift)Parameters
Section titled “Parameters”gift(Gift)
attachGiftsList
Section titled “attachGiftsList”public void attachGiftsList(List<Gift> gifts)Parameters
Section titled “Parameters”gifts(List<Gift>)
getByFilter
Section titled “getByFilter”public Gift getByFilter(Predicate<Gift> filter)Parameters
Section titled “Parameters”filter(Predicate<Gift>)
Returns
Section titled “Returns”getById
Section titled “getById”public Gift getById(int giftId)Parameters
Section titled “Parameters”giftId(int)
Returns
Section titled “Returns”getByName
Section titled “getByName”public Gift getByName(String name)Parameters
Section titled “Parameters”name(String)
Returns
Section titled “Returns”getManyByFilter
Section titled “getManyByFilter”@Overridepublic List<Gift> getManyByFilter(Predicate<Gift> filter)Parameters
Section titled “Parameters”filter(Predicate<Gift>)
Returns
Section titled “Returns”List<Gift>
toList
Section titled “toList”public List<Gift> toList()Returns
Section titled “Returns”List<Gift>
public Map<Integer, Gift> toMap()Returns
Section titled “Returns”Map<Integer, Gift>
Source
Section titled “Source”Client/src/main/java/io/github/jwdeveloper/tiktok/client/gifts/TikTokGiftsManager.java:33