Class Feedback
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.assistants.v1.assistant.Feedback
-
- All Implemented Interfaces:
Serializable
public class Feedback extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Feedback.AssistantsV1ServiceCreateFeedbackRequest
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FeedbackCreator
creator(String pathId, Feedback.AssistantsV1ServiceCreateFeedbackRequest assistantsV1ServiceCreateFeedbackRequest)
boolean
equals(Object o)
static Feedback
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Feedback object using the provided ObjectMapper.static Feedback
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Feedback object using the provided ObjectMapper.String
getAccountSid()
String
getAssistantId()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getId()
String
getMessageId()
Float
getScore()
String
getSessionId()
String
getText()
String
getUserSid()
int
hashCode()
static FeedbackReader
reader(String pathId)
static String
toJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
-
Method Detail
-
creator
public static FeedbackCreator creator(String pathId, Feedback.AssistantsV1ServiceCreateFeedbackRequest assistantsV1ServiceCreateFeedbackRequest)
-
reader
public static FeedbackReader reader(String pathId)
-
fromJson
public static Feedback fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Feedback object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Feedback object represented by the provided JSON
-
fromJson
public static Feedback fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Feedback object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Feedback object represented by the provided JSON
-
toJson
public static String toJson(Object object, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
getAssistantId
public final String getAssistantId()
-
getId
public final String getId()
-
getAccountSid
public final String getAccountSid()
-
getUserSid
public final String getUserSid()
-
getMessageId
public final String getMessageId()
-
getScore
public final Float getScore()
-
getSessionId
public final String getSessionId()
-
getText
public final String getText()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
-