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