create
public final static PreChatSurveyResponse.Hierarchy create(FieldDefinition.Hierarchy question, HierarchyNode<String> response)
Creates instance of Hierarchy survey response.
Parameters
question
FieldDefinition.Hierarchy survey question which is being answered.
response
User selected leaf HierarchyNode as a response to the survey.