com.sinch.sdk.domains.sms.models.DeliveryReportBatchSMS Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sinch-sdk-java Show documentation
Show all versions of sinch-sdk-java Show documentation
SDK providing a Java API for the Sinch REST APIs.
package com.sinch.sdk.domains.sms.models;
import java.util.Collection;
/**
* SMS delivery Report
*
* @since 1.0
*/
public class DeliveryReportBatchSMS extends DeliveryReportBatch {
/**
* @param batchId Required.
The ID of the batch this delivery report belongs to.
* @param clientReference The client identifier of the batch this delivery report belongs to, if
* set when submitting batch.
* @param statuses Required.
Array with status objects. Only status codes with at
* least one recipient will be listed.
* @param totalMessageCount Required.
The total number of messages in the batch.
*/
public DeliveryReportBatchSMS(
String batchId,
String clientReference,
Collection statuses,
Integer totalMessageCount) {
super(batchId, clientReference, statuses, totalMessageCount);
}
@Override
public String toString() {
return "DeliveryReportBatchSMS{} " + super.toString();
}
public static Builder builder() {
return new Builder();
}
public static class Builder extends DeliveryReportBatch.Builder {
private Builder() {
super();
}
public DeliveryReportBatchSMS build() {
return new DeliveryReportBatchSMS(batchId, clientReference, statuses, totalMessageCount);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy