public class Feedback extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
Feedback.Issues |
| Modifier and Type | Method and Description |
|---|---|
static FeedbackCreator |
creator(String pathCallSid,
Integer qualityScore)
Create a FeedbackCreator to execute create.
|
static FeedbackCreator |
creator(String pathAccountSid,
String pathCallSid,
Integer qualityScore)
Create a FeedbackCreator to execute create.
|
boolean |
equals(Object o) |
static FeedbackFetcher |
fetcher(String pathCallSid)
Create a FeedbackFetcher to execute fetch.
|
static FeedbackFetcher |
fetcher(String pathAccountSid,
String pathCallSid)
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 |
updater(String pathCallSid,
Integer qualityScore)
Create a FeedbackUpdater to execute update.
|
static FeedbackUpdater |
updater(String pathAccountSid,
String pathCallSid,
Integer qualityScore)
Create a FeedbackUpdater to execute update.
|
public static FeedbackCreator creator(String pathAccountSid, String pathCallSid, Integer qualityScore)
pathAccountSid - The account_sidpathCallSid - The call_sidqualityScore - The quality_scorepublic static FeedbackCreator creator(String pathCallSid, Integer qualityScore)
pathCallSid - The call_sidqualityScore - The quality_scorepublic static FeedbackFetcher fetcher(String pathAccountSid, String pathCallSid)
pathAccountSid - The account_sidpathCallSid - The call sid that uniquely identifies the callpublic static FeedbackFetcher fetcher(String pathCallSid)
pathCallSid - The call sid that uniquely identifies the callpublic static FeedbackUpdater updater(String pathAccountSid, String pathCallSid, Integer qualityScore)
pathAccountSid - The account_sidpathCallSid - The call_sidqualityScore - An integer from 1 to 5public static FeedbackUpdater updater(String pathCallSid, Integer qualityScore)
pathCallSid - 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 © 2016 Twilio, Inc. All Rights Reserved.