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