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