/** * Constructs a new CreateInteractionChoiceSet object * @param interactionChoiceSetID: an Integer value representing the Choice Set ID * <b>Notes: </b>Min Value: 0; Max Value: 2000000000 * @param choiceSet: a List<Choice> representing the array of one or more elements * <b>Notes: </b>Min Value: 1; Max Value: 100 */ public CreateInteractionChoiceSet(@NonNull Integer interactionChoiceSetID, @NonNull List<Choice> choiceSet) { this(); setInteractionChoiceSetID(interactionChoiceSetID); setChoiceSet(choiceSet); } /**
public static CreateInteractionChoiceSet buildCreateInteractionChoiceSet( Vector<Choice> choiceSet, Integer interactionChoiceSetID, Integer correlationID) { CreateInteractionChoiceSet msg = new CreateInteractionChoiceSet(); msg.setChoiceSet(choiceSet); msg.setInteractionChoiceSetID(interactionChoiceSetID); msg.setCorrelationID(correlationID); return msg; }
@Override protected RPCMessage createMessage(){ CreateInteractionChoiceSet msg = new CreateInteractionChoiceSet(); msg.setInteractionChoiceSetID(Test.GENERAL_INT); msg.setChoiceSet(Test.GENERAL_CHOICE_LIST); return msg; }