Class HrisListEmployeeShiftsRequestBuilder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.async.HrisListEmployeeShiftsRequestBuilder
-
public class HrisListEmployeeShiftsRequestBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HrisListEmployeeShiftsRequestBuilder(SDKConfiguration sdkConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<HrisListEmployeeShiftsResponse>call()org.reactivestreams.Publisher<HrisListEmployeeShiftsResponse>callAsPublisher()Returns a Publisher that performs next page calls till no more pages are returned.HrisListEmployeeShiftsRequestBuilderrequest(HrisListEmployeeShiftsRequest request)HrisListEmployeeShiftsRequestBuilderretryConfig(RetryConfig retryConfig)HrisListEmployeeShiftsRequestBuilderretryConfig(java.util.Optional<RetryConfig> retryConfig)
-
-
-
Constructor Detail
-
HrisListEmployeeShiftsRequestBuilder
public HrisListEmployeeShiftsRequestBuilder(SDKConfiguration sdkConfiguration)
-
-
Method Detail
-
request
public HrisListEmployeeShiftsRequestBuilder request(HrisListEmployeeShiftsRequest request)
-
retryConfig
public HrisListEmployeeShiftsRequestBuilder retryConfig(RetryConfig retryConfig)
-
retryConfig
public HrisListEmployeeShiftsRequestBuilder retryConfig(java.util.Optional<RetryConfig> retryConfig)
-
call
public java.util.concurrent.CompletableFuture<HrisListEmployeeShiftsResponse> call() throws java.lang.Exception
- Throws:
java.lang.Exception
-
callAsPublisher
public org.reactivestreams.Publisher<HrisListEmployeeShiftsResponse> 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<HrisListEmployeeShiftsResponse> publisher = builder.callAsPublisher(); publisher.subscribe(new Subscriber<HrisListEmployeeShiftsResponse>() { // Handle onNext, onError, onComplete });- Returns:
- A Publisher that emits pages asynchronously
-
-