Class ActivityStreamMessage.EventResource

  • Enclosing class:
    ActivityStreamMessage

    public static class ActivityStreamMessage.EventResource
    extends Object
    The resource that is the object of this message.
    • Constructor Detail

      • EventResource

        public EventResource​(String id,
                             List<String> type)
        Create a new event resource.
        Parameters:
        id - the identifier
        type - the types
    • Method Detail

      • getId

        public String getId()
        Returns:
        the identifier
      • getType

        public List<String> getType()
        Returns:
        the resource types