Class Dialogue
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.understand.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 boolean
equals(Object o)
static DialogueFetcher
fetcher(String pathAssistantSid, String pathSid)
static Dialogue
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Dialogue object using the provided ObjectMapper.static Dialogue
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Dialogue object using the provided ObjectMapper.String
getAccountSid()
String
getAssistantSid()
Map<String,Object>
getData()
String
getSid()
URI
getUrl()
int
hashCode()
-
-
-
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()
-
-