Class HrisListDepartmentGroupsRequestBuilder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.HrisListDepartmentGroupsRequestBuilder
-
public class HrisListDepartmentGroupsRequestBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HrisListDepartmentGroupsRequestBuilder(SDKMethodInterfaces.MethodCallHrisListDepartmentGroups sdk)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HrisListDepartmentGroupsResponsecall()java.util.stream.Stream<HrisListDepartmentGroupsResponse>callAsStream()Returns a stream that performs next page calls till no more pages are returned.HrisListDepartmentGroupsRequestBuilderrequest(HrisListDepartmentGroupsRequest request)HrisListDepartmentGroupsRequestBuilderretryConfig(RetryConfig retryConfig)HrisListDepartmentGroupsRequestBuilderretryConfig(java.util.Optional<RetryConfig> retryConfig)
-
-
-
Constructor Detail
-
HrisListDepartmentGroupsRequestBuilder
public HrisListDepartmentGroupsRequestBuilder(SDKMethodInterfaces.MethodCallHrisListDepartmentGroups sdk)
-
-
Method Detail
-
request
public HrisListDepartmentGroupsRequestBuilder request(HrisListDepartmentGroupsRequest request)
-
retryConfig
public HrisListDepartmentGroupsRequestBuilder retryConfig(RetryConfig retryConfig)
-
retryConfig
public HrisListDepartmentGroupsRequestBuilder retryConfig(java.util.Optional<RetryConfig> retryConfig)
-
call
public HrisListDepartmentGroupsResponse call() throws java.lang.Exception
- Throws:
java.lang.Exception
-
callAsStream
public java.util.stream.Stream<HrisListDepartmentGroupsResponse> callAsStream()
Returns a stream that performs next page calls till no more pages are returned. Unlike thecall()method this method will throw anSDKErrorif any page retrieval has an HTTP status code >= 300 (Note that 3XX is not an error range but will need special handling by the user if for example the HTTP client is not configured to follow redirects).
-
-