Class TimesheetEntryResponse.Builder
- java.lang.Object
-
- com.merge.api.resources.hris.types.TimesheetEntryResponse.Builder
-
- All Implemented Interfaces:
TimesheetEntryResponse._FinalStage,TimesheetEntryResponse.ModelStage
- Enclosing class:
- TimesheetEntryResponse
public static final class TimesheetEntryResponse.Builder extends java.lang.Object implements TimesheetEntryResponse.ModelStage, TimesheetEntryResponse._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimesheetEntryResponse._FinalStageaddAllErrors(java.util.List<ErrorValidationProblem> errors)TimesheetEntryResponse._FinalStageaddAllWarnings(java.util.List<WarningValidationProblem> warnings)TimesheetEntryResponse._FinalStageaddErrors(ErrorValidationProblem errors)TimesheetEntryResponse._FinalStageaddWarnings(WarningValidationProblem warnings)TimesheetEntryResponsebuild()TimesheetEntryResponse._FinalStageerrors(java.util.List<ErrorValidationProblem> errors)TimesheetEntryResponse.Builderfrom(TimesheetEntryResponse other)TimesheetEntryResponse._FinalStagelogs(java.util.List<DebugModeLog> logs)TimesheetEntryResponse._FinalStagelogs(java.util.Optional<java.util.List<DebugModeLog>> logs)TimesheetEntryResponse._FinalStagemodel(TimesheetEntry model)TimesheetEntryResponse._FinalStagewarnings(java.util.List<WarningValidationProblem> warnings)
-
-
-
Method Detail
-
from
public TimesheetEntryResponse.Builder from(TimesheetEntryResponse other)
- Specified by:
fromin interfaceTimesheetEntryResponse.ModelStage
-
model
public TimesheetEntryResponse._FinalStage model(TimesheetEntry model)
- Specified by:
modelin interfaceTimesheetEntryResponse.ModelStage
-
logs
public TimesheetEntryResponse._FinalStage logs(java.util.List<DebugModeLog> logs)
- Specified by:
logsin interfaceTimesheetEntryResponse._FinalStage
-
logs
public TimesheetEntryResponse._FinalStage logs(java.util.Optional<java.util.List<DebugModeLog>> logs)
- Specified by:
logsin interfaceTimesheetEntryResponse._FinalStage
-
addAllErrors
public TimesheetEntryResponse._FinalStage addAllErrors(java.util.List<ErrorValidationProblem> errors)
- Specified by:
addAllErrorsin interfaceTimesheetEntryResponse._FinalStage
-
addErrors
public TimesheetEntryResponse._FinalStage addErrors(ErrorValidationProblem errors)
- Specified by:
addErrorsin interfaceTimesheetEntryResponse._FinalStage
-
errors
public TimesheetEntryResponse._FinalStage errors(java.util.List<ErrorValidationProblem> errors)
- Specified by:
errorsin interfaceTimesheetEntryResponse._FinalStage
-
addAllWarnings
public TimesheetEntryResponse._FinalStage addAllWarnings(java.util.List<WarningValidationProblem> warnings)
- Specified by:
addAllWarningsin interfaceTimesheetEntryResponse._FinalStage
-
addWarnings
public TimesheetEntryResponse._FinalStage addWarnings(WarningValidationProblem warnings)
- Specified by:
addWarningsin interfaceTimesheetEntryResponse._FinalStage
-
warnings
public TimesheetEntryResponse._FinalStage warnings(java.util.List<WarningValidationProblem> warnings)
- Specified by:
warningsin interfaceTimesheetEntryResponse._FinalStage
-
build
public TimesheetEntryResponse build()
- Specified by:
buildin interfaceTimesheetEntryResponse._FinalStage
-
-