|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource<C>
com.twilio.sdk.resource.InstanceResource<TwilioRestClient>
com.twilio.sdk.resource.instance.Feedback
public class Feedback
A Feedback class. Used to submit feedback for a resource.
| Field Summary | |
|---|---|
static String |
DATE_CREATED_PROP
|
static String |
DATE_UPDATED_PROP
|
static String |
ISSUE_PARAM
|
static String |
ISSUES_PROP
|
static String |
QUALITY_SCORE_PARAM
|
static String |
QUALITY_SCORE_PROP
|
| Constructor Summary | |
|---|---|
Feedback(TwilioRestClient client,
Map<String,Object> properties,
String parentLocation)
Instantiates a new feedback. |
|
Feedback(TwilioRestClient client,
String parentLocation)
Instantiates a new feedback. |
|
| Method Summary | |
|---|---|
boolean |
delete()
Delete the call feedback. |
Date |
getDateCreated()
Gets the date created. |
Date |
getDateUpdated()
Gets the date updated. |
Set<String> |
getIssues()
Gets the issues. |
int |
getQualityScore()
Gets the quality score. |
| Methods inherited from class com.twilio.sdk.resource.InstanceResource |
|---|
getObject, getProperty, update, update |
| Methods inherited from class com.twilio.sdk.resource.Resource |
|---|
setRequestAccountSid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String QUALITY_SCORE_PROP
public static final String ISSUES_PROP
public static final String DATE_CREATED_PROP
public static final String DATE_UPDATED_PROP
public static final String QUALITY_SCORE_PARAM
public static final String ISSUE_PARAM
| Constructor Detail |
|---|
public Feedback(TwilioRestClient client,
Map<String,Object> properties,
String parentLocation)
client - the clientproperties - the propertiesparentLocation - the parent location
public Feedback(TwilioRestClient client,
String parentLocation)
client - the clientparentLocation - the parent location| Method Detail |
|---|
public boolean delete()
throws TwilioRestException
TwilioRestException - if there is an error in the requestpublic int getQualityScore()
public Set<String> getIssues()
public Date getDateCreated()
public Date getDateUpdated()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||