Package com.twilio.rest.insights.v1
Class CallSummariesReader
- java.lang.Object
-
- com.twilio.base.Reader<CallSummaries>
-
- com.twilio.rest.insights.v1.CallSummariesReader
-
public class CallSummariesReader extends Reader<CallSummaries>
-
-
Constructor Summary
Constructors Constructor Description CallSummariesReader()
-
Method Summary
-
-
-
Method Detail
-
setFrom
public CallSummariesReader setFrom(String from)
-
setTo
public CallSummariesReader setTo(String to)
-
setFromCarrier
public CallSummariesReader setFromCarrier(String fromCarrier)
-
setToCarrier
public CallSummariesReader setToCarrier(String toCarrier)
-
setFromCountryCode
public CallSummariesReader setFromCountryCode(String fromCountryCode)
-
setToCountryCode
public CallSummariesReader setToCountryCode(String toCountryCode)
-
setVerifiedCaller
public CallSummariesReader setVerifiedCaller(Boolean verifiedCaller)
-
setHasTag
public CallSummariesReader setHasTag(Boolean hasTag)
-
setStartTime
public CallSummariesReader setStartTime(String startTime)
-
setEndTime
public CallSummariesReader setEndTime(String endTime)
-
setCallType
public CallSummariesReader setCallType(String callType)
-
setCallState
public CallSummariesReader setCallState(String callState)
-
setDirection
public CallSummariesReader setDirection(String direction)
-
setProcessingState
public CallSummariesReader setProcessingState(CallSummaries.ProcessingStateRequest processingState)
-
setSortBy
public CallSummariesReader setSortBy(CallSummaries.SortBy sortBy)
-
setSubaccount
public CallSummariesReader setSubaccount(String subaccount)
-
setAbnormalSession
public CallSummariesReader setAbnormalSession(Boolean abnormalSession)
-
setAnsweredBy
public CallSummariesReader setAnsweredBy(CallSummaries.AnsweredBy answeredBy)
-
setAnsweredByAnnotation
public CallSummariesReader setAnsweredByAnnotation(String answeredByAnnotation)
-
setConnectivityIssueAnnotation
public CallSummariesReader setConnectivityIssueAnnotation(String connectivityIssueAnnotation)
-
setQualityIssueAnnotation
public CallSummariesReader setQualityIssueAnnotation(String qualityIssueAnnotation)
-
setSpamAnnotation
public CallSummariesReader setSpamAnnotation(Boolean spamAnnotation)
-
setCallScoreAnnotation
public CallSummariesReader setCallScoreAnnotation(String callScoreAnnotation)
-
setBrandedEnabled
public CallSummariesReader setBrandedEnabled(Boolean brandedEnabled)
-
setVoiceIntegrityEnabled
public CallSummariesReader setVoiceIntegrityEnabled(Boolean voiceIntegrityEnabled)
-
setBrandedBundleSid
public CallSummariesReader setBrandedBundleSid(String brandedBundleSid)
-
setVoiceIntegrityBundleSid
public CallSummariesReader setVoiceIntegrityBundleSid(String voiceIntegrityBundleSid)
-
setVoiceIntegrityUseCase
public CallSummariesReader setVoiceIntegrityUseCase(String voiceIntegrityUseCase)
-
setBusinessProfileIdentity
public CallSummariesReader setBusinessProfileIdentity(String businessProfileIdentity)
-
setBusinessProfileIndustry
public CallSummariesReader setBusinessProfileIndustry(String businessProfileIndustry)
-
setBusinessProfileBundleSid
public CallSummariesReader setBusinessProfileBundleSid(String businessProfileBundleSid)
-
setBusinessProfileType
public CallSummariesReader setBusinessProfileType(String businessProfileType)
-
setPageSize
public CallSummariesReader setPageSize(Integer pageSize)
-
read
public ResourceSet<CallSummaries> read(TwilioRestClient client)
Description copied from class:Reader
Execute a request using specified client.- Specified by:
read
in classReader<CallSummaries>
- Parameters:
client
- client used to make request- Returns:
- ResourceSet of objects
-
firstPage
public Page<CallSummaries> firstPage(TwilioRestClient client)
Description copied from class:Reader
Fetch the first page of resources using specified client.- Specified by:
firstPage
in classReader<CallSummaries>
- Parameters:
client
- client used to fetch- Returns:
- Page containing the first pageSize of resources
-
previousPage
public Page<CallSummaries> previousPage(Page<CallSummaries> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the prior page of resources using specified client.- Specified by:
previousPage
in classReader<CallSummaries>
- Parameters:
page
- current page of resourcesclient
- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<CallSummaries> nextPage(Page<CallSummaries> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the following page of resources using specified client.- Specified by:
nextPage
in classReader<CallSummaries>
- Parameters:
page
- current page of resourcesclient
- client used to fetch- Returns:
- Page containing the next pageSize of resources
-
getPage
public Page<CallSummaries> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:Reader
Retrieve the target page of resources.- Specified by:
getPage
in classReader<CallSummaries>
- Parameters:
targetUrl
- API-generated URL for the requested results pageclient
- client used to fetch- Returns:
- Page containing the target pageSize of resources
-
-