Class UpdateSmsBatchTextRequest
java.lang.Object
com.sinch.sdk.domains.sms.models.requests.UpdateBaseBatchRequest<String>
com.sinch.sdk.domains.sms.models.requests.UpdateSmsBatchTextRequest
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.sinch.sdk.domains.sms.models.requests.UpdateBaseBatchRequest
UpdateBaseBatchRequest.BatchBuilder<T> -
Constructor Summary
ConstructorsConstructorDescriptionUpdateSmsBatchTextRequest(Collection<String> toAdd, Collection<String> toRemove, String from, String body, DeliveryReportType deliveryReport, Instant sendAt, Instant expireAt, String callbackUrl, Parameters parameters) -
Method Summary
Methods inherited from class com.sinch.sdk.domains.sms.models.requests.UpdateBaseBatchRequest
batchBuilder, getBody, getCallbackUrl, getDeliveryReport, getExpireAt, getFrom, getSendAt, getToAdd, getToRemove
-
Constructor Details
-
UpdateSmsBatchTextRequest
public UpdateSmsBatchTextRequest(Collection<String> toAdd, Collection<String> toRemove, String from, String body, DeliveryReportType deliveryReport, Instant sendAt, Instant expireAt, String callbackUrl, Parameters parameters) - Parameters:
toAdd- List of phone numbers and group IDs to add to the batch.toRemove- List of phone numbers and group IDs to remove from the batch.from- Sender number. Must be valid phone number, short code or alphanumeric. Required if Automatic Default Originator not configured. * @param body The message contentbody- The message contentdeliveryReport- Request delivery report callback. Note that delivery reports can be fetched from the API regardless of this settingsendAt- If set in the future, the message will be delayed until send_at occurs. Must be before expire_at. If set in the past, messages will be sent immediatelyexpireAt- If set, the system will stop trying to deliver the message at this point. Must be after send_at. Default and max is 3 days after send_atcallbackUrl- Override the default callback URL for this batch. Must be valid URL.parameters- Contains the parameters that will be used for customizing the message for each recipient.
-
-
Method Details
-
getParameters
-
toString
- Overrides:
toStringin classUpdateBaseBatchRequest<String>
-
builder
-