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