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