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