Class LmsListContentRequestBuilder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.LmsListContentRequestBuilder
-
public class LmsListContentRequestBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LmsListContentRequestBuilder(SDKConfiguration sdkConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LmsListContentResponsecall()java.lang.Iterable<LmsListContentResponse>callAsIterable()Returns an iterable that performs next page calls till no more pages are returned.java.util.stream.Stream<LmsListContentResponse>callAsStream()Returns a stream that performs next page calls till no more pages are returned.LmsListContentRequestBuilderrequest(LmsListContentRequest request)LmsListContentRequestBuilderretryConfig(RetryConfig retryConfig)LmsListContentRequestBuilderretryConfig(java.util.Optional<RetryConfig> retryConfig)
-
-
-
Constructor Detail
-
LmsListContentRequestBuilder
public LmsListContentRequestBuilder(SDKConfiguration sdkConfiguration)
-
-
Method Detail
-
request
public LmsListContentRequestBuilder request(LmsListContentRequest request)
-
retryConfig
public LmsListContentRequestBuilder retryConfig(RetryConfig retryConfig)
-
retryConfig
public LmsListContentRequestBuilder retryConfig(java.util.Optional<RetryConfig> retryConfig)
-
call
public LmsListContentResponse call() throws java.lang.Exception
- Throws:
java.lang.Exception
-
callAsIterable
public java.lang.Iterable<LmsListContentResponse> 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 (LmsListContentResponse page : builder.callAsIterable()) { // Process each page }- Returns:
- An iterable that can be used to iterate through all pages
-
callAsStream
public java.util.stream.Stream<LmsListContentResponse> callAsStream()
Returns a stream that performs next page calls till no more pages are returned.
-
-