Builder
class Builder( val itemId: String, val question: String, val answerText: String)
Content copied to clipboard
Builder for ProductInsightsAgentAnswerViewTrackingData
Constructors
Functions
Link copied to clipboard
Builds the ProductInsightsAgentAnswerViewTrackingData
Link copied to clipboard
fun setAnalyticsTags(analyticsTags: Map<String, String>): ProductInsightsAgentAnswerViewTrackingData.Builder
Content copied to clipboard
Sets analyticsTags
Link copied to clipboard
fun setFollowUpQuestions(followUpQuestions: List<String>): ProductInsightsAgentAnswerViewTrackingData.Builder
Content copied to clipboard
Sets followUpQuestions
Link copied to clipboard
fun setItemName(itemName: String): ProductInsightsAgentAnswerViewTrackingData.Builder
Content copied to clipboard
Sets itemName
Link copied to clipboard
fun setItems(items: List<TrackingItem>): ProductInsightsAgentAnswerViewTrackingData.Builder
Content copied to clipboard
Sets items
Link copied to clipboard
fun setQnaResultId(qnaResultId: String): ProductInsightsAgentAnswerViewTrackingData.Builder
Content copied to clipboard
Sets qnaResultId
Link copied to clipboard
fun setQuestionTopic(questionTopic: String): ProductInsightsAgentAnswerViewTrackingData.Builder
Content copied to clipboard
Sets questionTopic
Link copied to clipboard
fun setSectionName(sectionName: String): ProductInsightsAgentAnswerViewTrackingData.Builder
Content copied to clipboard
Sets sectionName
Link copied to clipboard
fun setThreadId(threadId: String): ProductInsightsAgentAnswerViewTrackingData.Builder
Content copied to clipboard
Sets threadId
Link copied to clipboard
fun setVariationId(variationId: String): ProductInsightsAgentAnswerViewTrackingData.Builder
Content copied to clipboard
Sets variationId
Properties
Link copied to clipboard
Additional analytics tags to pass. Merged with io.constructor.core.ConstructorIoConfig.defaultAnalyticsTags, with request-level values overriding defaults on key collision
Link copied to clipboard
The index section, i.e. "Products". Defaults to io.constructor.core.ConstructorIoConfig.defaultItemSection