Class MessagingListAttachmentsRequestBuilder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.MessagingListAttachmentsRequestBuilder
-
public class MessagingListAttachmentsRequestBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MessagingListAttachmentsRequestBuilder(SDKConfiguration sdkConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagingListAttachmentsResponsecall()java.lang.Iterable<MessagingListAttachmentsResponse>callAsIterable()Returns an iterable that performs next page calls till no more pages are returned.java.util.stream.Stream<MessagingListAttachmentsResponse>callAsStream()Returns a stream that performs next page calls till no more pages are returned.MessagingListAttachmentsRequestBuilderrequest(MessagingListAttachmentsRequest request)MessagingListAttachmentsRequestBuilderretryConfig(RetryConfig retryConfig)MessagingListAttachmentsRequestBuilderretryConfig(java.util.Optional<RetryConfig> retryConfig)
-
-
-
Constructor Detail
-
MessagingListAttachmentsRequestBuilder
public MessagingListAttachmentsRequestBuilder(SDKConfiguration sdkConfiguration)
-
-
Method Detail
-
request
public MessagingListAttachmentsRequestBuilder request(MessagingListAttachmentsRequest request)
-
retryConfig
public MessagingListAttachmentsRequestBuilder retryConfig(RetryConfig retryConfig)
-
retryConfig
public MessagingListAttachmentsRequestBuilder retryConfig(java.util.Optional<RetryConfig> retryConfig)
-
call
public MessagingListAttachmentsResponse call() throws java.lang.Exception
- Throws:
java.lang.Exception
-
callAsIterable
public java.lang.Iterable<MessagingListAttachmentsResponse> callAsIterable()
Returns an iterable that performs next page calls till no more pages are returned.The returned iterable can be used in a for-each loop:
for (MessagingListAttachmentsResponse page : builder.callAsIterable()) { // Process each page }- Returns:
- An iterable that can be used to iterate through all pages
-
callAsStream
public java.util.stream.Stream<MessagingListAttachmentsResponse> callAsStream()
Returns a stream that performs next page calls till no more pages are returned.
-
-