Class InboundsListRequestParameters
- java.lang.Object
-
- com.sinch.sdk.domains.sms.models.requests.InboundsListRequestParameters
-
public class InboundsListRequestParameters extends Object
Parameters request to list delivery reports for a project
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInboundsListRequestParameters.Builder
-
Constructor Summary
Constructors Constructor Description InboundsListRequestParameters(Instant startDate, Instant endDate, String clientReference, Integer page, Integer pageSize, Collection<String> to)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InboundsListRequestParameters.Builderbuilder()static InboundsListRequestParameters.Builderbuilder(InboundsListRequestParameters parameters)Optional<String>getClientReference()Optional<Instant>getEndDate()Optional<Integer>getPage()Optional<Integer>getPageSize()Optional<Instant>getStartDate()Optional<Collection<String>>getTo()
-
-
-
Constructor Detail
-
InboundsListRequestParameters
public InboundsListRequestParameters(Instant startDate, Instant endDate, String clientReference, Integer page, Integer pageSize, Collection<String> to)
- Parameters:
startDate- Only list messages received at or after this date/timeendDate- Only list messages received before this date/timeclientReference- Using a client reference in inbound messages requires additional setup on your account. Contact your account manager to enable this feature. Only list inbound messages that are in response to messages with a previously provided client reference.page- The page number starting from 0.pageSize- Determines the size of a page.to- Only list messages sent to these destinations
-
-
Method Detail
-
getTo
public Optional<Collection<String>> getTo()
-
builder
public static InboundsListRequestParameters.Builder builder()
-
builder
public static InboundsListRequestParameters.Builder builder(InboundsListRequestParameters parameters)
-
-