public class FeedbackSummary extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
FeedbackSummary.Status |
Modifier and Type | Method and Description |
---|---|
static FeedbackSummaryCreator |
creator(LocalDate startDate,
LocalDate endDate)
Create a FeedbackSummaryCreator to execute create.
|
static FeedbackSummaryCreator |
creator(String pathAccountSid,
LocalDate startDate,
LocalDate endDate)
Create a FeedbackSummaryCreator to execute create.
|
static FeedbackSummaryDeleter |
deleter(String pathSid)
Create a FeedbackSummaryDeleter to execute delete.
|
static FeedbackSummaryDeleter |
deleter(String pathAccountSid,
String pathSid)
Create a FeedbackSummaryDeleter to execute delete.
|
boolean |
equals(Object o) |
static FeedbackSummaryFetcher |
fetcher(String pathSid)
Create a FeedbackSummaryFetcher to execute fetch.
|
static FeedbackSummaryFetcher |
fetcher(String pathAccountSid,
String pathSid)
Create a FeedbackSummaryFetcher to execute fetch.
|
static FeedbackSummary |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a FeedbackSummary object using the provided
ObjectMapper.
|
static FeedbackSummary |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a FeedbackSummary object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The unique sid that identifies this account.
|
Integer |
getCallCount()
Returns The total number of calls.
|
Integer |
getCallFeedbackCount()
Returns The total number of calls with a feedback entry.
|
ZonedDateTime |
getDateCreated()
Returns The date this resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The date this resource was last updated.
|
LocalDate |
getEndDate()
Returns The latest feedback entry date in the summary.
|
Boolean |
getIncludeSubaccounts()
Returns Whether the feedback summary includes subaccounts.
|
List<Map<String,Object>> |
getIssues()
Returns Issues experienced during the call.
|
BigDecimal |
getQualityScoreAverage()
Returns The average QualityScore of the feedback entries.
|
BigDecimal |
getQualityScoreMedian()
Returns The median QualityScore of the feedback entries.
|
BigDecimal |
getQualityScoreStandardDeviation()
Returns The standard deviation of the quality scores.
|
String |
getSid()
Returns A string that uniquely identifies this feedback entry.
|
LocalDate |
getStartDate()
Returns The earliest feedback entry date in the summary.
|
FeedbackSummary.Status |
getStatus()
Returns The status of the feedback summary.
|
int |
hashCode() |
public static FeedbackSummaryCreator creator(String pathAccountSid, LocalDate startDate, LocalDate endDate)
pathAccountSid
- The unique sid that identifies this accountstartDate
- Only include feedback given on or after this dateendDate
- Only include feedback given on or before this datepublic static FeedbackSummaryCreator creator(LocalDate startDate, LocalDate endDate)
startDate
- Only include feedback given on or after this dateendDate
- Only include feedback given on or before this datepublic static FeedbackSummaryFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid
- The unique sid that identifies this accountpathSid
- A string that uniquely identifies this feedback summary
resourcepublic static FeedbackSummaryFetcher fetcher(String pathSid)
pathSid
- A string that uniquely identifies this feedback summary
resourcepublic static FeedbackSummaryDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid
- The unique sid that identifies this accountpathSid
- A string that uniquely identifies this feedback summary
resourcepublic static FeedbackSummaryDeleter deleter(String pathSid)
pathSid
- A string that uniquely identifies this feedback summary
resourcepublic static FeedbackSummary fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static FeedbackSummary fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final Integer getCallCount()
public final Integer getCallFeedbackCount()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final LocalDate getEndDate()
public final Boolean getIncludeSubaccounts()
public final List<Map<String,Object>> getIssues()
public final BigDecimal getQualityScoreAverage()
public final BigDecimal getQualityScoreMedian()
public final BigDecimal getQualityScoreStandardDeviation()
public final String getSid()
public final LocalDate getStartDate()
public final FeedbackSummary.Status getStatus()
Copyright © 2019 Twilio, Inc. All Rights Reserved.