Class HrisCreateTimeOffRequestDto.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.HrisCreateTimeOffRequestDto.Builder
-
- Enclosing class:
- HrisCreateTimeOffRequestDto
public static final class HrisCreateTimeOffRequestDto.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HrisCreateTimeOffRequestDto.BuilderapproverId(java.lang.String approverId)The approver IDHrisCreateTimeOffRequestDto.BuilderapproverId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> approverId)The approver IDHrisCreateTimeOffRequestDtobuild()HrisCreateTimeOffRequestDto.BuilderemployeeId(java.lang.String employeeId)The employee IDHrisCreateTimeOffRequestDto.BuilderemployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee IDHrisCreateTimeOffRequestDto.BuilderendDate(java.time.OffsetDateTime endDate)The end date of the time off requestHrisCreateTimeOffRequestDto.BuilderendDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endDate)The end date of the time off requestHrisCreateTimeOffRequestDto.BuilderendHalfDay(HrisCreateTimeOffRequestDtoEndHalfDay endHalfDay)True if the end of the time off request ends half way through the dayHrisCreateTimeOffRequestDto.BuilderendHalfDay(org.openapitools.jackson.nullable.JsonNullable<? extends HrisCreateTimeOffRequestDtoEndHalfDay> endHalfDay)True if the end of the time off request ends half way through the dayHrisCreateTimeOffRequestDto.Builderpassthrough(java.util.Map<java.lang.String,java.lang.Object> passthrough)Value to pass through to the providerHrisCreateTimeOffRequestDto.Builderpassthrough(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> passthrough)Value to pass through to the providerHrisCreateTimeOffRequestDto.Builderreason(HrisCreateTimeOffRequestDtoReason reason)HrisCreateTimeOffRequestDto.Builderreason(org.openapitools.jackson.nullable.JsonNullable<? extends HrisCreateTimeOffRequestDtoReason> reason)HrisCreateTimeOffRequestDto.BuilderstartDate(java.time.OffsetDateTime startDate)The start date of the time off requestHrisCreateTimeOffRequestDto.BuilderstartDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startDate)The start date of the time off requestHrisCreateTimeOffRequestDto.BuilderstartHalfDay(HrisCreateTimeOffRequestDtoStartHalfDay startHalfDay)True if the start of the time off request begins half way through the dayHrisCreateTimeOffRequestDto.BuilderstartHalfDay(org.openapitools.jackson.nullable.JsonNullable<? extends HrisCreateTimeOffRequestDtoStartHalfDay> startHalfDay)True if the start of the time off request begins half way through the dayHrisCreateTimeOffRequestDto.Builderstatus(HrisCreateTimeOffRequestDtoStatus status)The status of the time off requestHrisCreateTimeOffRequestDto.Builderstatus(org.openapitools.jackson.nullable.JsonNullable<? extends HrisCreateTimeOffRequestDtoStatus> status)The status of the time off requestHrisCreateTimeOffRequestDto.BuildertimeOffPolicyId(java.lang.String timeOffPolicyId)The time off policy id associated with this time off requestHrisCreateTimeOffRequestDto.BuildertimeOffPolicyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeOffPolicyId)The time off policy id associated with this time off requestHrisCreateTimeOffRequestDto.Buildertype(HrisCreateTimeOffRequestDtoType type)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.HrisCreateTimeOffRequestDto.Buildertype(org.openapitools.jackson.nullable.JsonNullable<? extends HrisCreateTimeOffRequestDtoType> type)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.
-
-
-
Method Detail
-
employeeId
public HrisCreateTimeOffRequestDto.Builder employeeId(java.lang.String employeeId)
The employee ID
-
employeeId
public HrisCreateTimeOffRequestDto.Builder employeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
The employee ID
-
approverId
public HrisCreateTimeOffRequestDto.Builder approverId(java.lang.String approverId)
The approver ID
-
approverId
public HrisCreateTimeOffRequestDto.Builder approverId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> approverId)
The approver ID
-
status
public HrisCreateTimeOffRequestDto.Builder status(HrisCreateTimeOffRequestDtoStatus status)
The status of the time off request
-
status
public HrisCreateTimeOffRequestDto.Builder status(org.openapitools.jackson.nullable.JsonNullable<? extends HrisCreateTimeOffRequestDtoStatus> status)
The status of the time off request
-
type
@Deprecated public HrisCreateTimeOffRequestDto.Builder type(HrisCreateTimeOffRequestDtoType type)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.The type of the time off request
-
type
@Deprecated public HrisCreateTimeOffRequestDto.Builder type(org.openapitools.jackson.nullable.JsonNullable<? extends HrisCreateTimeOffRequestDtoType> type)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.The type of the time off request
-
startDate
public HrisCreateTimeOffRequestDto.Builder startDate(java.time.OffsetDateTime startDate)
The start date of the time off request
-
startDate
public HrisCreateTimeOffRequestDto.Builder startDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startDate)
The start date of the time off request
-
endDate
public HrisCreateTimeOffRequestDto.Builder endDate(java.time.OffsetDateTime endDate)
The end date of the time off request
-
endDate
public HrisCreateTimeOffRequestDto.Builder endDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endDate)
The end date of the time off request
-
startHalfDay
public HrisCreateTimeOffRequestDto.Builder startHalfDay(HrisCreateTimeOffRequestDtoStartHalfDay startHalfDay)
True if the start of the time off request begins half way through the day
-
startHalfDay
public HrisCreateTimeOffRequestDto.Builder startHalfDay(org.openapitools.jackson.nullable.JsonNullable<? extends HrisCreateTimeOffRequestDtoStartHalfDay> startHalfDay)
True if the start of the time off request begins half way through the day
-
endHalfDay
public HrisCreateTimeOffRequestDto.Builder endHalfDay(HrisCreateTimeOffRequestDtoEndHalfDay endHalfDay)
True if the end of the time off request ends half way through the day
-
endHalfDay
public HrisCreateTimeOffRequestDto.Builder endHalfDay(org.openapitools.jackson.nullable.JsonNullable<? extends HrisCreateTimeOffRequestDtoEndHalfDay> endHalfDay)
True if the end of the time off request ends half way through the day
-
timeOffPolicyId
public HrisCreateTimeOffRequestDto.Builder timeOffPolicyId(java.lang.String timeOffPolicyId)
The time off policy id associated with this time off request
-
timeOffPolicyId
public HrisCreateTimeOffRequestDto.Builder timeOffPolicyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeOffPolicyId)
The time off policy id associated with this time off request
-
reason
public HrisCreateTimeOffRequestDto.Builder reason(HrisCreateTimeOffRequestDtoReason reason)
-
reason
public HrisCreateTimeOffRequestDto.Builder reason(org.openapitools.jackson.nullable.JsonNullable<? extends HrisCreateTimeOffRequestDtoReason> reason)
-
passthrough
public HrisCreateTimeOffRequestDto.Builder passthrough(java.util.Map<java.lang.String,java.lang.Object> passthrough)
Value to pass through to the provider
-
passthrough
public HrisCreateTimeOffRequestDto.Builder passthrough(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> passthrough)
Value to pass through to the provider
-
build
public HrisCreateTimeOffRequestDto build()
-
-