Class DeliveryReportBatchGetRequestParameters.Builder
java.lang.Object
com.sinch.sdk.domains.sms.models.requests.DeliveryReportBatchGetRequestParameters.Builder
- Enclosing class:
DeliveryReportBatchGetRequestParameters
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setCodes
(Collection<Integer> codes) setStatuses
(Collection<DeliveryReportStatus> statuses) setType
(DeliveryReportType type)
-
Method Details
-
setType
- Parameters:
type
- Filter by type of delivery report.- A
summary
will count the number of messages sent per status. - A
full
report give that of a summary report but in addition, lists phone numbers.
- A
- Returns:
- current builder
-
setStatuses
public DeliveryReportBatchGetRequestParameters.Builder setStatuses(Collection<DeliveryReportStatus> statuses) - Parameters:
statuses
- Filter by list of statuses to include- Returns:
- current builder
-
setCodes
- Parameters:
codes
- Filter by list of codes to include- Returns:
- current builder
-
build
-