com.sinch.sdk.domains.sms.models.DeliveryReportBatchMMS 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;
/**
* MMS delivery Report
*
* @since 1.0
*/
public class DeliveryReportBatchMMS 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 DeliveryReportBatchMMS(
String batchId,
String clientReference,
Collection statuses,
Integer totalMessageCount) {
super(batchId, clientReference, statuses, totalMessageCount);
}
@Override
public String toString() {
return "DeliveryReportBatchMMS{} " + super.toString();
}
public static Builder builder() {
return new Builder();
}
public static class Builder extends DeliveryReportBatch.Builder {
protected Builder() {
super();
}
public DeliveryReportBatchMMS build() {
return new DeliveryReportBatchMMS(batchId, clientReference, statuses, totalMessageCount);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy