Package com.twilio.rest.flexapi.v1
Class InsightsQuestionnairesQuestionCreator
- java.lang.Object
-
- com.twilio.base.Creator<InsightsQuestionnairesQuestion>
-
- com.twilio.rest.flexapi.v1.InsightsQuestionnairesQuestionCreator
-
public class InsightsQuestionnairesQuestionCreator extends Creator<InsightsQuestionnairesQuestion>
-
-
Constructor Summary
Constructors Constructor Description InsightsQuestionnairesQuestionCreator(String categorySid, String question, String answerSetId, Boolean allowNa)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsightsQuestionnairesQuestion
create(TwilioRestClient client)
Execute a request using specified client.InsightsQuestionnairesQuestionCreator
setAllowNa(Boolean allowNa)
InsightsQuestionnairesQuestionCreator
setAnswerSetId(String answerSetId)
InsightsQuestionnairesQuestionCreator
setAuthorization(String authorization)
InsightsQuestionnairesQuestionCreator
setCategorySid(String categorySid)
InsightsQuestionnairesQuestionCreator
setDescription(String description)
InsightsQuestionnairesQuestionCreator
setQuestion(String question)
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Method Detail
-
setCategorySid
public InsightsQuestionnairesQuestionCreator setCategorySid(String categorySid)
-
setQuestion
public InsightsQuestionnairesQuestionCreator setQuestion(String question)
-
setAnswerSetId
public InsightsQuestionnairesQuestionCreator setAnswerSetId(String answerSetId)
-
setAllowNa
public InsightsQuestionnairesQuestionCreator setAllowNa(Boolean allowNa)
-
setAuthorization
public InsightsQuestionnairesQuestionCreator setAuthorization(String authorization)
-
setDescription
public InsightsQuestionnairesQuestionCreator setDescription(String description)
-
create
public InsightsQuestionnairesQuestion create(TwilioRestClient client)
Description copied from class:Creator
Execute a request using specified client.- Specified by:
create
in classCreator<InsightsQuestionnairesQuestion>
- Parameters:
client
- client used to make request- Returns:
- Requested object
-
-