Class Conversation

  • All Implemented Interfaces:

    
    public final class Conversation
    
                        
    • Constructor Detail

    • Method Detail

      • id

         final String id()

        The unique ID of the conversation.

      • createdAt

         final Long createdAt()

        The time at which the conversation was created, measured in seconds since the Unix epoch.

      • _metadata

         final JsonValue _metadata()

        Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

      • _object_

         final JsonValue _object_()

        The object type, which is always conversation.

        Expected to always return the following:

        JsonValue.from("conversation")

        However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).

      • _id

         final JsonField<String> _id()

        Returns the raw JSON value of id.

        Unlike id, this method doesn't throw if the JSON field has an unexpected type.