Package com.twilio.rest.flexapi.v1
Class InsightsQuestionnaires
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.flexapi.v1.InsightsQuestionnaires
-
- All Implemented Interfaces:
Serializable
public class InsightsQuestionnaires extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InsightsQuestionnairesCreator
creator(String name)
static InsightsQuestionnairesDeleter
deleter(String pathQuestionnaireSid)
boolean
equals(Object o)
static InsightsQuestionnairesFetcher
fetcher(String pathQuestionnaireSid)
static InsightsQuestionnaires
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a InsightsQuestionnaires object using the provided ObjectMapper.static InsightsQuestionnaires
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a InsightsQuestionnaires object using the provided ObjectMapper.String
getAccountSid()
Boolean
getActive()
String
getDescription()
String
getName()
String
getQuestionnaireSid()
List<Map<String,Object>>
getQuestions()
URI
getUrl()
int
hashCode()
static InsightsQuestionnairesReader
reader()
static InsightsQuestionnairesUpdater
updater(String pathQuestionnaireSid, Boolean active)
-
-
-
Method Detail
-
creator
public static InsightsQuestionnairesCreator creator(String name)
-
deleter
public static InsightsQuestionnairesDeleter deleter(String pathQuestionnaireSid)
-
fetcher
public static InsightsQuestionnairesFetcher fetcher(String pathQuestionnaireSid)
-
reader
public static InsightsQuestionnairesReader reader()
-
updater
public static InsightsQuestionnairesUpdater updater(String pathQuestionnaireSid, Boolean active)
-
fromJson
public static InsightsQuestionnaires fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a InsightsQuestionnaires object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- InsightsQuestionnaires object represented by the provided JSON
-
fromJson
public static InsightsQuestionnaires fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a InsightsQuestionnaires object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- InsightsQuestionnaires object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getQuestionnaireSid
public final String getQuestionnaireSid()
-
getName
public final String getName()
-
getDescription
public final String getDescription()
-
getActive
public final Boolean getActive()
-
getUrl
public final URI getUrl()
-
-