Class EmployeeEndpointRequest.Builder
- java.lang.Object
-
- com.merge.api.resources.hris.employees.requests.EmployeeEndpointRequest.Builder
-
- All Implemented Interfaces:
EmployeeEndpointRequest._FinalStage,EmployeeEndpointRequest.ModelStage
- Enclosing class:
- EmployeeEndpointRequest
public static final class EmployeeEndpointRequest.Builder extends java.lang.Object implements EmployeeEndpointRequest.ModelStage, EmployeeEndpointRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmployeeEndpointRequestbuild()EmployeeEndpointRequest.Builderfrom(EmployeeEndpointRequest other)EmployeeEndpointRequest._FinalStageisDebugMode(java.lang.Boolean isDebugMode)Whether to include debug fields (such as log file links) in the response.EmployeeEndpointRequest._FinalStageisDebugMode(java.util.Optional<java.lang.Boolean> isDebugMode)EmployeeEndpointRequest._FinalStagemodel(EmployeeRequest model)EmployeeEndpointRequest._FinalStagerunAsync(java.lang.Boolean runAsync)Whether or not third-party updates should be run asynchronously.EmployeeEndpointRequest._FinalStagerunAsync(java.util.Optional<java.lang.Boolean> runAsync)
-
-
-
Method Detail
-
from
public EmployeeEndpointRequest.Builder from(EmployeeEndpointRequest other)
- Specified by:
fromin interfaceEmployeeEndpointRequest.ModelStage
-
model
public EmployeeEndpointRequest._FinalStage model(EmployeeRequest model)
- Specified by:
modelin interfaceEmployeeEndpointRequest.ModelStage
-
runAsync
public EmployeeEndpointRequest._FinalStage runAsync(java.lang.Boolean runAsync)
Whether or not third-party updates should be run asynchronously.
- Specified by:
runAsyncin interfaceEmployeeEndpointRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
runAsync
public EmployeeEndpointRequest._FinalStage runAsync(java.util.Optional<java.lang.Boolean> runAsync)
- Specified by:
runAsyncin interfaceEmployeeEndpointRequest._FinalStage
-
isDebugMode
public EmployeeEndpointRequest._FinalStage isDebugMode(java.lang.Boolean isDebugMode)
Whether to include debug fields (such as log file links) in the response.
- Specified by:
isDebugModein interfaceEmployeeEndpointRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
isDebugMode
public EmployeeEndpointRequest._FinalStage isDebugMode(java.util.Optional<java.lang.Boolean> isDebugMode)
- Specified by:
isDebugModein interfaceEmployeeEndpointRequest._FinalStage
-
build
public EmployeeEndpointRequest build()
- Specified by:
buildin interfaceEmployeeEndpointRequest._FinalStage
-
-