Class HrisGetEmployeeShiftResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.async.HrisGetEmployeeShiftResponse.Builder
-
- Enclosing class:
- HrisGetEmployeeShiftResponse
public static final class HrisGetEmployeeShiftResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HrisGetEmployeeShiftResponsebuild()HrisGetEmployeeShiftResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationHrisGetEmployeeShiftResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)HrisGetEmployeeShiftResponse.BuilderhrisShiftResult(HrisShiftResult hrisShiftResult)The shift with the given identifier for the specified employee was retrieved.HrisGetEmployeeShiftResponse.BuilderhrisShiftResult(java.util.Optional<? extends HrisShiftResult> hrisShiftResult)The shift with the given identifier for the specified employee was retrieved.HrisGetEmployeeShiftResponse.BuilderrawResponse(java.net.http.HttpResponse<Blob> rawResponse)Raw HTTP response; suitable for custom response parsingHrisGetEmployeeShiftResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public HrisGetEmployeeShiftResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public HrisGetEmployeeShiftResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public HrisGetEmployeeShiftResponse.Builder rawResponse(java.net.http.HttpResponse<Blob> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
hrisShiftResult
public HrisGetEmployeeShiftResponse.Builder hrisShiftResult(HrisShiftResult hrisShiftResult)
The shift with the given identifier for the specified employee was retrieved.
-
hrisShiftResult
public HrisGetEmployeeShiftResponse.Builder hrisShiftResult(java.util.Optional<? extends HrisShiftResult> hrisShiftResult)
The shift with the given identifier for the specified employee was retrieved.
-
headers
public HrisGetEmployeeShiftResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public HrisGetEmployeeShiftResponse build()
-
-