Class DataExportCsv.Builder

  • Enclosing class:
    DataExportCsv

    public static final class DataExportCsv.Builder
    extends java.lang.Object
    • Method Detail

      • userId

        public DataExportCsv.Builder userId​(java.util.Optional<java.lang.String> userId)

        The user_id of the user who was sent the message.

      • userExternalId

        public DataExportCsv.Builder userExternalId​(java.util.Optional<java.lang.String> userExternalId)

        The external_user_id of the user who was sent the message

      • companyId

        public DataExportCsv.Builder companyId​(java.util.Optional<java.lang.String> companyId)

        The company ID of the user in relation to the message that was sent. Will return -1 if no company is present.

      • email

        public DataExportCsv.Builder email​(java.util.Optional<java.lang.String> email)

        The users email who was sent the message.

      • name

        public DataExportCsv.Builder name​(java.util.Optional<java.lang.String> name)

        The full name of the user receiving the message

      • rulesetId

        public DataExportCsv.Builder rulesetId​(java.util.Optional<java.lang.String> rulesetId)

        The id of the message.

      • contentId

        public DataExportCsv.Builder contentId​(java.util.Optional<java.lang.String> contentId)

        The specific content that was received. In an A/B test each version has its own Content ID.

      • contentType

        public DataExportCsv.Builder contentType​(java.util.Optional<java.lang.String> contentType)

        Email, Chat, Post etc.

      • contentTitle

        public DataExportCsv.Builder contentTitle​(java.util.Optional<java.lang.String> contentTitle)

        The title of the content you see in your Intercom workspace.

      • rulesetVersionId

        public DataExportCsv.Builder rulesetVersionId​(java.util.Optional<java.lang.String> rulesetVersionId)

        As you edit content we record new versions. This ID can help you determine which version of a piece of content that was received.

      • rulesetVersionId

        public DataExportCsv.Builder rulesetVersionId​(java.lang.String rulesetVersionId)
      • receiptId

        public DataExportCsv.Builder receiptId​(java.util.Optional<java.lang.String> receiptId)

        ID for this receipt. Will be included with any related stats in other files to identify this specific delivery of a message.

      • receivedAt

        public DataExportCsv.Builder receivedAt​(java.util.Optional<java.lang.Integer> receivedAt)

        Timestamp for when the receipt was recorded.

      • seriesId

        public DataExportCsv.Builder seriesId​(java.util.Optional<java.lang.String> seriesId)

        The id of the series that this content is part of. Will return -1 if not part of a series.

      • seriesTitle

        public DataExportCsv.Builder seriesTitle​(java.util.Optional<java.lang.String> seriesTitle)

        The title of the series that this content is part of.

      • nodeId

        public DataExportCsv.Builder nodeId​(java.util.Optional<java.lang.String> nodeId)

        The id of the series node that this ruleset is associated with. Each block in a series has a corresponding node_id.

      • firstReply

        public DataExportCsv.Builder firstReply​(java.util.Optional<java.lang.Integer> firstReply)

        The first time a user replied to this message if the content was able to receive replies.

      • firstCompletion

        public DataExportCsv.Builder firstCompletion​(java.util.Optional<java.lang.Integer> firstCompletion)

        The first time a user completed this message if the content was able to be completed e.g. Tours, Surveys.

      • firstSeriesCompletion

        public DataExportCsv.Builder firstSeriesCompletion​(java.util.Optional<java.lang.Integer> firstSeriesCompletion)

        The first time the series this message was a part of was completed by the user.

      • firstSeriesCompletion

        public DataExportCsv.Builder firstSeriesCompletion​(java.lang.Integer firstSeriesCompletion)
      • firstSeriesDisengagement

        public DataExportCsv.Builder firstSeriesDisengagement​(java.util.Optional<java.lang.Integer> firstSeriesDisengagement)

        The first time the series this message was a part of was disengaged by the user.

      • firstSeriesDisengagement

        public DataExportCsv.Builder firstSeriesDisengagement​(java.lang.Integer firstSeriesDisengagement)
      • firstSeriesExit

        public DataExportCsv.Builder firstSeriesExit​(java.util.Optional<java.lang.Integer> firstSeriesExit)

        The first time the series this message was a part of was exited by the user.

      • firstGoalSuccess

        public DataExportCsv.Builder firstGoalSuccess​(java.util.Optional<java.lang.Integer> firstGoalSuccess)

        The first time the user met this messages associated goal if one exists.

      • firstGoalSuccess

        public DataExportCsv.Builder firstGoalSuccess​(java.lang.Integer firstGoalSuccess)
      • firstOpen

        public DataExportCsv.Builder firstOpen​(java.util.Optional<java.lang.Integer> firstOpen)

        The first time the user opened this message.

      • firstClick

        public DataExportCsv.Builder firstClick​(java.util.Optional<java.lang.Integer> firstClick)

        The first time the series the user clicked on a link within this message.

      • firstDismisall

        public DataExportCsv.Builder firstDismisall​(java.util.Optional<java.lang.Integer> firstDismisall)

        The first time the series the user dismissed this message.

      • firstUnsubscribe

        public DataExportCsv.Builder firstUnsubscribe​(java.util.Optional<java.lang.Integer> firstUnsubscribe)

        The first time the user unsubscribed from this message.

      • firstUnsubscribe

        public DataExportCsv.Builder firstUnsubscribe​(java.lang.Integer firstUnsubscribe)
      • firstHardBounce

        public DataExportCsv.Builder firstHardBounce​(java.util.Optional<java.lang.Integer> firstHardBounce)

        The first time this message hard bounced for this user