Class ActivityPartyImpl
- java.lang.Object
-
- org.javacord.core.entity.activity.ActivityPartyImpl
-
- All Implemented Interfaces:
ActivityParty
public class ActivityPartyImpl extends Object implements ActivityParty
The implementation ofActivityParty
.
-
-
Constructor Summary
Constructors Constructor Description ActivityPartyImpl(com.fasterxml.jackson.databind.JsonNode data)
Creates a new activity party object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Optional<Integer>
getCurrentSize()
Optional<String>
getId()
Optional<Integer>
getMaximumSize()
int
hashCode()
-
-
-
Method Detail
-
getId
public Optional<String> getId()
- Specified by:
getId
in interfaceActivityParty
-
getCurrentSize
public Optional<Integer> getCurrentSize()
- Specified by:
getCurrentSize
in interfaceActivityParty
-
getMaximumSize
public Optional<Integer> getMaximumSize()
- Specified by:
getMaximumSize
in interfaceActivityParty
-
-