Class DataExportCsv.Builder
- java.lang.Object
-
- com.intercom.api.types.DataExportCsv.Builder
-
- All Implemented Interfaces:
DataExportCsv._FinalStage,DataExportCsv.CompanyIdStage,DataExportCsv.ContentIdStage,DataExportCsv.ContentTitleStage,DataExportCsv.ContentTypeStage,DataExportCsv.EmailStage,DataExportCsv.NameStage,DataExportCsv.RulesetIdStage,DataExportCsv.UserIdStage
- Enclosing class:
- DataExportCsv
public static final class DataExportCsv.Builder extends java.lang.Object implements DataExportCsv.UserIdStage, DataExportCsv.CompanyIdStage, DataExportCsv.EmailStage, DataExportCsv.NameStage, DataExportCsv.RulesetIdStage, DataExportCsv.ContentIdStage, DataExportCsv.ContentTypeStage, DataExportCsv.ContentTitleStage, DataExportCsv._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataExportCsvbuild()DataExportCsv.EmailStagecompanyId(java.lang.String companyId)The company ID of the user in relation to the message that was sent.DataExportCsv.ContentTypeStagecontentId(java.lang.String contentId)The specific content that was received.DataExportCsv._FinalStagecontentTitle(java.lang.String contentTitle)The title of the content you see in your Intercom workspace.DataExportCsv.ContentTitleStagecontentType(java.lang.String contentType)Email, Chat, Post etc.DataExportCsv.NameStageemail(java.lang.String email)The users email who was sent the message.DataExportCsv._FinalStagefirstClick(java.lang.Integer firstClick)The first time the series the user clicked on a link within this message.DataExportCsv._FinalStagefirstClick(java.util.Optional<java.lang.Integer> firstClick)The first time the series the user clicked on a link within this message.DataExportCsv._FinalStagefirstCompletion(java.lang.Integer firstCompletion)The first time a user completed this message if the content was able to be completed e.g.DataExportCsv._FinalStagefirstCompletion(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.DataExportCsv._FinalStagefirstDismisall(java.lang.Integer firstDismisall)The first time the series the user dismissed this message.DataExportCsv._FinalStagefirstDismisall(java.util.Optional<java.lang.Integer> firstDismisall)The first time the series the user dismissed this message.DataExportCsv._FinalStagefirstGoalSuccess(java.lang.Integer firstGoalSuccess)The first time the user met this messages associated goal if one exists.DataExportCsv._FinalStagefirstGoalSuccess(java.util.Optional<java.lang.Integer> firstGoalSuccess)The first time the user met this messages associated goal if one exists.DataExportCsv._FinalStagefirstHardBounce(java.lang.Integer firstHardBounce)The first time this message hard bounced for this userDataExportCsv._FinalStagefirstHardBounce(java.util.Optional<java.lang.Integer> firstHardBounce)The first time this message hard bounced for this userDataExportCsv._FinalStagefirstOpen(java.lang.Integer firstOpen)The first time the user opened this message.DataExportCsv._FinalStagefirstOpen(java.util.Optional<java.lang.Integer> firstOpen)The first time the user opened this message.DataExportCsv._FinalStagefirstReply(java.lang.Integer firstReply)The first time a user replied to this message if the content was able to receive replies.DataExportCsv._FinalStagefirstReply(java.util.Optional<java.lang.Integer> firstReply)The first time a user replied to this message if the content was able to receive replies.DataExportCsv._FinalStagefirstSeriesCompletion(java.lang.Integer firstSeriesCompletion)The first time the series this message was a part of was completed by the user.DataExportCsv._FinalStagefirstSeriesCompletion(java.util.Optional<java.lang.Integer> firstSeriesCompletion)The first time the series this message was a part of was completed by the user.DataExportCsv._FinalStagefirstSeriesDisengagement(java.lang.Integer firstSeriesDisengagement)The first time the series this message was a part of was disengaged by the user.DataExportCsv._FinalStagefirstSeriesDisengagement(java.util.Optional<java.lang.Integer> firstSeriesDisengagement)The first time the series this message was a part of was disengaged by the user.DataExportCsv._FinalStagefirstSeriesExit(java.lang.Integer firstSeriesExit)The first time the series this message was a part of was exited by the user.DataExportCsv._FinalStagefirstSeriesExit(java.util.Optional<java.lang.Integer> firstSeriesExit)The first time the series this message was a part of was exited by the user.DataExportCsv._FinalStagefirstUnsubscribe(java.lang.Integer firstUnsubscribe)The first time the user unsubscribed from this message.DataExportCsv._FinalStagefirstUnsubscribe(java.util.Optional<java.lang.Integer> firstUnsubscribe)The first time the user unsubscribed from this message.DataExportCsv.Builderfrom(DataExportCsv other)DataExportCsv.RulesetIdStagename(java.lang.String name)The full name of the user receiving the messageDataExportCsv._FinalStagenodeId(java.lang.String nodeId)The id of the series node that this ruleset is associated with.DataExportCsv._FinalStagenodeId(java.util.Optional<java.lang.String> nodeId)The id of the series node that this ruleset is associated with.DataExportCsv._FinalStagereceiptId(java.lang.String receiptId)ID for this receipt.DataExportCsv._FinalStagereceiptId(java.util.Optional<java.lang.String> receiptId)ID for this receipt.DataExportCsv._FinalStagereceivedAt(java.lang.Integer receivedAt)Timestamp for when the receipt was recorded.DataExportCsv._FinalStagereceivedAt(java.util.Optional<java.lang.Integer> receivedAt)Timestamp for when the receipt was recorded.DataExportCsv.ContentIdStagerulesetId(java.lang.String rulesetId)The id of the message.DataExportCsv._FinalStagerulesetVersionId(java.lang.String rulesetVersionId)As you edit content we record new versions.DataExportCsv._FinalStagerulesetVersionId(java.util.Optional<java.lang.String> rulesetVersionId)As you edit content we record new versions.DataExportCsv._FinalStageseriesId(java.lang.String seriesId)The id of the series that this content is part of.DataExportCsv._FinalStageseriesId(java.util.Optional<java.lang.String> seriesId)The id of the series that this content is part of.DataExportCsv._FinalStageseriesTitle(java.lang.String seriesTitle)The title of the series that this content is part of.DataExportCsv._FinalStageseriesTitle(java.util.Optional<java.lang.String> seriesTitle)The title of the series that this content is part of.DataExportCsv._FinalStageuserExternalId(java.lang.String userExternalId)The external_user_id of the user who was sent the messageDataExportCsv._FinalStageuserExternalId(java.util.Optional<java.lang.String> userExternalId)The external_user_id of the user who was sent the messageDataExportCsv.CompanyIdStageuserId(java.lang.String userId)The user_id of the user who was sent the message.
-
-
-
Method Detail
-
from
public DataExportCsv.Builder from(DataExportCsv other)
- Specified by:
fromin interfaceDataExportCsv.UserIdStage
-
userId
public DataExportCsv.CompanyIdStage userId(@NotNull java.lang.String userId)
The user_id of the user who was sent the message.The user_id of the user who was sent the message.
- Specified by:
userIdin interfaceDataExportCsv.UserIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
companyId
public DataExportCsv.EmailStage companyId(@NotNull 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.The company ID of the user in relation to the message that was sent. Will return -1 if no company is present.
- Specified by:
companyIdin interfaceDataExportCsv.CompanyIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
email
public DataExportCsv.NameStage email(@NotNull java.lang.String email)
The users email who was sent the message.The users email who was sent the message.
- Specified by:
emailin interfaceDataExportCsv.EmailStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public DataExportCsv.RulesetIdStage name(@NotNull java.lang.String name)
The full name of the user receiving the messageThe full name of the user receiving the message
- Specified by:
namein interfaceDataExportCsv.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
rulesetId
public DataExportCsv.ContentIdStage rulesetId(@NotNull java.lang.String rulesetId)
The id of the message.The id of the message.
- Specified by:
rulesetIdin interfaceDataExportCsv.RulesetIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentId
public DataExportCsv.ContentTypeStage contentId(@NotNull java.lang.String contentId)
The specific content that was received. In an A/B test each version has its own Content ID.The specific content that was received. In an A/B test each version has its own Content ID.
- Specified by:
contentIdin interfaceDataExportCsv.ContentIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentType
public DataExportCsv.ContentTitleStage contentType(@NotNull java.lang.String contentType)
Email, Chat, Post etc.Email, Chat, Post etc.
- Specified by:
contentTypein interfaceDataExportCsv.ContentTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentTitle
public DataExportCsv._FinalStage contentTitle(@NotNull java.lang.String contentTitle)
The title of the content you see in your Intercom workspace.The title of the content you see in your Intercom workspace.
- Specified by:
contentTitlein interfaceDataExportCsv.ContentTitleStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstHardBounce
public DataExportCsv._FinalStage firstHardBounce(java.lang.Integer firstHardBounce)
The first time this message hard bounced for this user
- Specified by:
firstHardBouncein interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstHardBounce
public DataExportCsv._FinalStage firstHardBounce(java.util.Optional<java.lang.Integer> firstHardBounce)
The first time this message hard bounced for this user
- Specified by:
firstHardBouncein interfaceDataExportCsv._FinalStage
-
firstUnsubscribe
public DataExportCsv._FinalStage firstUnsubscribe(java.lang.Integer firstUnsubscribe)
The first time the user unsubscribed from this message.
- Specified by:
firstUnsubscribein interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstUnsubscribe
public DataExportCsv._FinalStage firstUnsubscribe(java.util.Optional<java.lang.Integer> firstUnsubscribe)
The first time the user unsubscribed from this message.
- Specified by:
firstUnsubscribein interfaceDataExportCsv._FinalStage
-
firstDismisall
public DataExportCsv._FinalStage firstDismisall(java.lang.Integer firstDismisall)
The first time the series the user dismissed this message.
- Specified by:
firstDismisallin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstDismisall
public DataExportCsv._FinalStage firstDismisall(java.util.Optional<java.lang.Integer> firstDismisall)
The first time the series the user dismissed this message.
- Specified by:
firstDismisallin interfaceDataExportCsv._FinalStage
-
firstClick
public DataExportCsv._FinalStage firstClick(java.lang.Integer firstClick)
The first time the series the user clicked on a link within this message.
- Specified by:
firstClickin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstClick
public DataExportCsv._FinalStage firstClick(java.util.Optional<java.lang.Integer> firstClick)
The first time the series the user clicked on a link within this message.
- Specified by:
firstClickin interfaceDataExportCsv._FinalStage
-
firstOpen
public DataExportCsv._FinalStage firstOpen(java.lang.Integer firstOpen)
The first time the user opened this message.
- Specified by:
firstOpenin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstOpen
public DataExportCsv._FinalStage firstOpen(java.util.Optional<java.lang.Integer> firstOpen)
The first time the user opened this message.
- Specified by:
firstOpenin interfaceDataExportCsv._FinalStage
-
firstGoalSuccess
public DataExportCsv._FinalStage firstGoalSuccess(java.lang.Integer firstGoalSuccess)
The first time the user met this messages associated goal if one exists.
- Specified by:
firstGoalSuccessin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstGoalSuccess
public DataExportCsv._FinalStage firstGoalSuccess(java.util.Optional<java.lang.Integer> firstGoalSuccess)
The first time the user met this messages associated goal if one exists.
- Specified by:
firstGoalSuccessin interfaceDataExportCsv._FinalStage
-
firstSeriesExit
public DataExportCsv._FinalStage firstSeriesExit(java.lang.Integer firstSeriesExit)
The first time the series this message was a part of was exited by the user.
- Specified by:
firstSeriesExitin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstSeriesExit
public DataExportCsv._FinalStage firstSeriesExit(java.util.Optional<java.lang.Integer> firstSeriesExit)
The first time the series this message was a part of was exited by the user.
- Specified by:
firstSeriesExitin interfaceDataExportCsv._FinalStage
-
firstSeriesDisengagement
public DataExportCsv._FinalStage firstSeriesDisengagement(java.lang.Integer firstSeriesDisengagement)
The first time the series this message was a part of was disengaged by the user.
- Specified by:
firstSeriesDisengagementin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstSeriesDisengagement
public DataExportCsv._FinalStage firstSeriesDisengagement(java.util.Optional<java.lang.Integer> firstSeriesDisengagement)
The first time the series this message was a part of was disengaged by the user.
- Specified by:
firstSeriesDisengagementin interfaceDataExportCsv._FinalStage
-
firstSeriesCompletion
public DataExportCsv._FinalStage firstSeriesCompletion(java.lang.Integer firstSeriesCompletion)
The first time the series this message was a part of was completed by the user.
- Specified by:
firstSeriesCompletionin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstSeriesCompletion
public DataExportCsv._FinalStage firstSeriesCompletion(java.util.Optional<java.lang.Integer> firstSeriesCompletion)
The first time the series this message was a part of was completed by the user.
- Specified by:
firstSeriesCompletionin interfaceDataExportCsv._FinalStage
-
firstCompletion
public DataExportCsv._FinalStage firstCompletion(java.lang.Integer firstCompletion)
The first time a user completed this message if the content was able to be completed e.g. Tours, Surveys.
- Specified by:
firstCompletionin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstCompletion
public DataExportCsv._FinalStage 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.
- Specified by:
firstCompletionin interfaceDataExportCsv._FinalStage
-
firstReply
public DataExportCsv._FinalStage firstReply(java.lang.Integer firstReply)
The first time a user replied to this message if the content was able to receive replies.
- Specified by:
firstReplyin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
firstReply
public DataExportCsv._FinalStage 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.
- Specified by:
firstReplyin interfaceDataExportCsv._FinalStage
-
nodeId
public DataExportCsv._FinalStage nodeId(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.
- Specified by:
nodeIdin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
nodeId
public DataExportCsv._FinalStage 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.
- Specified by:
nodeIdin interfaceDataExportCsv._FinalStage
-
seriesTitle
public DataExportCsv._FinalStage seriesTitle(java.lang.String seriesTitle)
The title of the series that this content is part of.
- Specified by:
seriesTitlein interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
seriesTitle
public DataExportCsv._FinalStage seriesTitle(java.util.Optional<java.lang.String> seriesTitle)
The title of the series that this content is part of.
- Specified by:
seriesTitlein interfaceDataExportCsv._FinalStage
-
seriesId
public DataExportCsv._FinalStage seriesId(java.lang.String seriesId)
The id of the series that this content is part of. Will return -1 if not part of a series.
- Specified by:
seriesIdin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
seriesId
public DataExportCsv._FinalStage 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.
- Specified by:
seriesIdin interfaceDataExportCsv._FinalStage
-
receivedAt
public DataExportCsv._FinalStage receivedAt(java.lang.Integer receivedAt)
Timestamp for when the receipt was recorded.
- Specified by:
receivedAtin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
receivedAt
public DataExportCsv._FinalStage receivedAt(java.util.Optional<java.lang.Integer> receivedAt)
Timestamp for when the receipt was recorded.
- Specified by:
receivedAtin interfaceDataExportCsv._FinalStage
-
receiptId
public DataExportCsv._FinalStage receiptId(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.
- Specified by:
receiptIdin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
receiptId
public DataExportCsv._FinalStage 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.
- Specified by:
receiptIdin interfaceDataExportCsv._FinalStage
-
rulesetVersionId
public DataExportCsv._FinalStage rulesetVersionId(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.
- Specified by:
rulesetVersionIdin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
rulesetVersionId
public DataExportCsv._FinalStage 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.
- Specified by:
rulesetVersionIdin interfaceDataExportCsv._FinalStage
-
userExternalId
public DataExportCsv._FinalStage userExternalId(java.lang.String userExternalId)
The external_user_id of the user who was sent the message
- Specified by:
userExternalIdin interfaceDataExportCsv._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userExternalId
public DataExportCsv._FinalStage userExternalId(java.util.Optional<java.lang.String> userExternalId)
The external_user_id of the user who was sent the message
- Specified by:
userExternalIdin interfaceDataExportCsv._FinalStage
-
build
public DataExportCsv build()
- Specified by:
buildin interfaceDataExportCsv._FinalStage
-
-