Class Dialogue
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.autopilot.v1.assistant.Dialogue
-
- All Implemented Interfaces:
Serializable
public class Dialogue extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static DialogueFetcherfetcher(String pathAssistantSid, String pathSid)static DialoguefromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Dialogue object using the provided ObjectMapper.static DialoguefromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Dialogue object using the provided ObjectMapper.StringgetAccountSid()StringgetAssistantSid()Map<String,Object>getData()StringgetSid()URIgetUrl()inthashCode()
-
-
-
Method Detail
-
fetcher
public static DialogueFetcher fetcher(String pathAssistantSid, String pathSid)
-
fromJson
public static Dialogue fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Dialogue object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Dialogue object represented by the provided JSON
-
fromJson
public static Dialogue fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Dialogue object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Dialogue object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getAssistantSid
public final String getAssistantSid()
-
getSid
public final String getSid()
-
getUrl
public final URI getUrl()
-
-