Class HrisListEmployeeDocumentsRequestBuilder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.async.HrisListEmployeeDocumentsRequestBuilder
-
public class HrisListEmployeeDocumentsRequestBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HrisListEmployeeDocumentsRequestBuilder(SDKConfiguration sdkConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<HrisListEmployeeDocumentsResponse>call()org.reactivestreams.Publisher<HrisListEmployeeDocumentsResponse>callAsPublisher()Returns a Publisher that performs next page calls till no more pages are returned.HrisListEmployeeDocumentsRequestBuilderrequest(HrisListEmployeeDocumentsRequest request)HrisListEmployeeDocumentsRequestBuilderretryConfig(RetryConfig retryConfig)HrisListEmployeeDocumentsRequestBuilderretryConfig(java.util.Optional<RetryConfig> retryConfig)
-
-
-
Constructor Detail
-
HrisListEmployeeDocumentsRequestBuilder
public HrisListEmployeeDocumentsRequestBuilder(SDKConfiguration sdkConfiguration)
-
-
Method Detail
-
request
public HrisListEmployeeDocumentsRequestBuilder request(HrisListEmployeeDocumentsRequest request)
-
retryConfig
public HrisListEmployeeDocumentsRequestBuilder retryConfig(RetryConfig retryConfig)
-
retryConfig
public HrisListEmployeeDocumentsRequestBuilder retryConfig(java.util.Optional<RetryConfig> retryConfig)
-
call
public java.util.concurrent.CompletableFuture<HrisListEmployeeDocumentsResponse> call() throws java.lang.Exception
- Throws:
java.lang.Exception
-
callAsPublisher
public org.reactivestreams.Publisher<HrisListEmployeeDocumentsResponse> callAsPublisher()
Returns a Publisher that performs next page calls till no more pages are returned.The returned publisher can be used with reactive frameworks:
Publisher<HrisListEmployeeDocumentsResponse> publisher = builder.callAsPublisher(); publisher.subscribe(new Subscriber<HrisListEmployeeDocumentsResponse>() { // Handle onNext, onError, onComplete });- Returns:
- A Publisher that emits pages asynchronously
-
-