Class AppRequest

All Implemented Interfaces:
HasCreatedTime, HasFrom, HasMessage, Serializable

public class AppRequest extends FacebookType implements HasCreatedTime, HasFrom, HasMessage
Since:
1.6.10
Author:
Mark Allen
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getActionType

      Request action type for structured request
      Returns:
      Request action type for structured request
    • setActionType

      public void setActionType(String actionType)
      Request action type for structured request
    • getApplication

      App associated with the request.
      Returns:
      App associated with the request.
    • setApplication

      public void setApplication(AppRequest.Application application)
      App associated with the request.
    • getData

      public String getData()
      Optional data passed with the request for tracking purposes
      Returns:
      Optional data passed with the request for tracking purposes
    • setData

      public void setData(String data)
      Optional data passed with the request for tracking purposes
    • getTo

      The recipient user associated with the request.
      Returns:
      The recipient user associated with the request.
    • setTo

      public void setTo(NamedFacebookType to)
      The recipient user associated with the request.
    • getFrom

      The sender user associated with the request.
      Specified by:
      getFrom in interface HasFrom
      Returns:
      The sender user associated with the request.
    • setFrom

      public void setFrom(NamedFacebookType from)
      The sender user associated with the request.
    • getMessage

      public String getMessage()
      A string describing the request.
      Specified by:
      getMessage in interface HasMessage
      Returns:
      A string describing the request.
    • setMessage

      public void setMessage(String message)
      A string describing the request.
    • getCreatedTime

      public Date getCreatedTime()
      Timestamp when the request was created.
      Specified by:
      getCreatedTime in interface HasCreatedTime
      Returns:
      Timestamp when the request was created.
    • setCreatedTime

      public void setCreatedTime(Date createdTime)
      Timestamp when the request was created.