Package 

Class FeedId


  • 
    public final class FeedId
    
                        

    A unique identifier for a feed in the Stream Feeds system. A FeedId consists of two components:

    • group: The feed group identifier (e.g., "user", "timeline", "notification")

    • id: The specific feed identifier within that group

    The complete feed identifier is represented as a colon-separated string: "group:id"

    For example: "user:john", "timeline:flat", "notification:aggregated"

    Example:

    val feedId = FeedId(group = "user", id = "john")
    // Creates "user:john"

    Creates a new feed identifier with the specified group and feed IDs.

    • Constructor Summary

      Constructors 
      Constructor Description
      FeedId(String rawValue) Creates a feed identifier from a raw string value.
      FeedId(String group, String id)
    • Method Summary

      Modifier and Type Method Description
      final String getRawValue() The complete feed identifier as a colon-separated string.
      final String getGroup() The feed group identifier that categorizes the type of feed.
      final String getId() The specific feed identifier within the group.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FeedId

        FeedId(String rawValue)
        Creates a feed identifier from a raw string value.
        Parameters:
        rawValue - The raw string representation of the feed ID
    • Method Detail

      • getRawValue

         final String getRawValue()

        The complete feed identifier as a colon-separated string.

        This is the canonical string representation of the feed ID, formatted as "group:id". This value is used for API requests and serialization.

      • getGroup

         final String getGroup()

        The feed group identifier that categorizes the type of feed.

        Common group IDs include:

        • "user": User-specific feeds

        • "timeline": Timeline feeds

        • "notification": Notification feeds

        • "aggregated": Aggregated feeds

      • getId

         final String getId()

        The specific feed identifier within the group.

        This is typically a user ID, feed name, or other unique identifier that distinguishes this feed from others in the same group.