public class Feedback extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
Feedback.Issues |
Modifier and Type | Method and Description |
---|---|
static FeedbackCreator |
create(String accountSid,
String callSid,
Integer qualityScore)
Create a FeedbackCreator to execute create.
|
boolean |
equals(Object o) |
static FeedbackFetcher |
fetch(String accountSid,
String callSid)
Create a FeedbackFetcher to execute fetch.
|
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()
Returns The The account_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
List<Feedback.Issues> |
getIssues()
Returns The The issues.
|
Integer |
getQualityScore()
Returns The 1 to 5 quality score.
|
String |
getSid()
Returns The The sid.
|
int |
hashCode() |
String |
toString() |
static FeedbackUpdater |
update(String accountSid,
String callSid,
Integer qualityScore)
Create a FeedbackUpdater to execute update.
|
public static FeedbackCreator create(String accountSid, String callSid, Integer qualityScore)
accountSid
- The account_sidcallSid
- The call_sidqualityScore
- The quality_scorepublic static FeedbackFetcher fetch(String accountSid, String callSid)
accountSid
- The account_sidcallSid
- The call sid that uniquely identifies the callpublic static FeedbackUpdater update(String accountSid, String callSid, Integer qualityScore)
accountSid
- The account_sidcallSid
- The call_sidqualityScore
- An integer from 1 to 5public static Feedback fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Feedback fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final List<Feedback.Issues> getIssues()
public final Integer getQualityScore()
public final String getSid()
Copyright © 2011 Twilio, Inc. All Rights Reserved.