-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorMessage,ai.tock.bot.connector.ConnectorMessageProvider
public final class OutcomingEvent extends TwitterConnectorMessage
-
-
Field Summary
Fields Modifier and Type Field Description private final AbstractOutcomingEventeventprivate final AttachmentDataattachmentDataprivate final ConnectorTypeconnectorType
-
Constructor Summary
Constructors Constructor Description OutcomingEvent(AbstractOutcomingEvent event, AttachmentData attachmentData)
-
Method Summary
Modifier and Type Method Description GenericMessagetoGenericMessage()final PlayerIdplayerId(PlayerType playerType)final PlayerIdrecipientId(PlayerType playerType)final AbstractOutcomingEventcomponent1()final AttachmentDatacomponent2()final OutcomingEventcopy(AbstractOutcomingEvent event, AttachmentData attachmentData)final AbstractOutcomingEventgetEvent()final AttachmentDatagetAttachmentData()ConnectorTypegetConnectorType()-
Methods inherited from class ai.tock.bot.connector.ConnectorMessageProvider
equals, hashCode, toString -
Methods inherited from class ai.tock.bot.connector.twitter.model.TwitterConnectorMessage
obfuscate, toConnectorMessage -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
OutcomingEvent
OutcomingEvent(AbstractOutcomingEvent event, AttachmentData attachmentData)
-
-
Method Detail
-
toGenericMessage
GenericMessage toGenericMessage()
-
playerId
final PlayerId playerId(PlayerType playerType)
-
recipientId
final PlayerId recipientId(PlayerType playerType)
-
component1
final AbstractOutcomingEvent component1()
-
component2
final AttachmentData component2()
-
copy
final OutcomingEvent copy(AbstractOutcomingEvent event, AttachmentData attachmentData)
-
getEvent
final AbstractOutcomingEvent getEvent()
-
getAttachmentData
final AttachmentData getAttachmentData()
-
getConnectorType
ConnectorType getConnectorType()
-
-
-
-