Class MessagingItem
- java.lang.Object
-
- com.restfb.types.webhook.messaging.MessagingItem
-
public class MessagingItem extends Object
-
-
Constructor Summary
Constructors Constructor Description MessagingItem()
-
Method Summary
-
-
-
Constructor Detail
-
MessagingItem
public MessagingItem()
-
-
Method Detail
-
getItem
public InnerMessagingItem getItem()
generic access to the inner item. depending on the inner elements the corresponding element is returned. So you can get anOptinItem
,PostbackItem
,DeliveryItem
,AccountLinkingItem
orMessageItem
- Returns:
- the inner item.
-
isDelivery
public boolean isDelivery()
-
isRead
public boolean isRead()
-
isMessage
public boolean isMessage()
-
isPostback
public boolean isPostback()
-
isOptin
public boolean isOptin()
-
isAccountLinking
public boolean isAccountLinking()
-
isCheckoutUpdate
public boolean isCheckoutUpdate()
-
isPayment
public boolean isPayment()
-
isReferral
public boolean isReferral()
-
isPolicyEnforcement
public boolean isPolicyEnforcement()
-
isPassThreadControl
public boolean isPassThreadControl()
-
isTakeThreadControl
public boolean isTakeThreadControl()
-
isRequestThreadControl
public boolean isRequestThreadControl()
-
isAppRoles
public boolean isAppRoles()
-
hasPriorMessage
public boolean hasPriorMessage()
-
isReaction
public boolean isReaction()
-
getSender
public MessagingParticipant getSender()
-
setSender
public void setSender(MessagingParticipant sender)
-
getRecipient
public MessagingParticipant getRecipient()
-
setRecipient
public void setRecipient(MessagingParticipant recipient)
-
getTimestamp
public Date getTimestamp()
-
setTimestamp
public void setTimestamp(Date timestamp)
-
getDelivery
public DeliveryItem getDelivery()
-
setDelivery
public void setDelivery(DeliveryItem delivery)
-
getMessage
public MessageItem getMessage()
-
setMessage
public void setMessage(MessageItem message)
-
getMessageEdit
public MessageEditItem getMessageEdit()
-
setMessageEdit
public void setMessageEdit(MessageEditItem messageEdit)
-
getPostback
public PostbackItem getPostback()
-
setPostback
public void setPostback(PostbackItem postback)
-
getAccountLinking
public AccountLinkingItem getAccountLinking()
-
setAccountLinking
public void setAccountLinking(AccountLinkingItem accountLinking)
-
getCheckoutUpdate
public CheckoutUpdateItem getCheckoutUpdate()
-
setCheckoutUpdate
public void setCheckoutUpdate(CheckoutUpdateItem checkoutUpdate)
-
getPayment
public PaymentItem getPayment()
-
setPayment
public void setPayment(PaymentItem payment)
-
getReferral
public ReferralItem getReferral()
-
setReferral
public void setReferral(ReferralItem referral)
-
getPolicyEnforcement
public PolicyEnforcementItem getPolicyEnforcement()
-
setPolicyEnforcement
public void setPolicyEnforcement(PolicyEnforcementItem policyEnforcement)
-
getPassThreadControl
public PassThreadControlItem getPassThreadControl()
-
setPassThreadControl
public void setPassThreadControl(PassThreadControlItem passThreadControl)
-
getTakeThreadControl
public TakeThreadControlItem getTakeThreadControl()
-
setTakeThreadControl
public void setTakeThreadControl(TakeThreadControlItem takeThreadControl)
-
getRequestThreadControl
public RequestThreadControlItem getRequestThreadControl()
-
setRequestThreadControl
public void setRequestThreadControl(RequestThreadControlItem requestThreadControl)
-
getAppRoles
public AppRoles getAppRoles()
-
setAppRoles
public void setAppRoles(AppRoles appRoles)
-
getPriorMessage
public PriorMessage getPriorMessage()
-
setPriorMessage
public void setPriorMessage(PriorMessage priorMessage)
-
getReaction
public MessageReaction getReaction()
-
setReaction
public void setReaction(MessageReaction reaction)
-
-