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