Class HrisListEmployeeShiftsResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.HrisListEmployeeShiftsResponse.Builder
-
- Enclosing class:
- HrisListEmployeeShiftsResponse
public static final class HrisListEmployeeShiftsResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HrisListEmployeeShiftsResponsebuild()HrisListEmployeeShiftsResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationHrisListEmployeeShiftsResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)HrisListEmployeeShiftsResponse.BuilderhrisShiftsPaginated(HrisShiftsPaginated hrisShiftsPaginated)The shifts related to the employee with the given identifier were retrieved.HrisListEmployeeShiftsResponse.BuilderhrisShiftsPaginated(java.util.Optional<? extends HrisShiftsPaginated> hrisShiftsPaginated)The shifts related to the employee with the given identifier were retrieved.HrisListEmployeeShiftsResponse.BuilderrawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingHrisListEmployeeShiftsResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public HrisListEmployeeShiftsResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public HrisListEmployeeShiftsResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public HrisListEmployeeShiftsResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
hrisShiftsPaginated
public HrisListEmployeeShiftsResponse.Builder hrisShiftsPaginated(HrisShiftsPaginated hrisShiftsPaginated)
The shifts related to the employee with the given identifier were retrieved.
-
hrisShiftsPaginated
public HrisListEmployeeShiftsResponse.Builder hrisShiftsPaginated(java.util.Optional<? extends HrisShiftsPaginated> hrisShiftsPaginated)
The shifts related to the employee with the given identifier were retrieved.
-
headers
public HrisListEmployeeShiftsResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public HrisListEmployeeShiftsResponse build()
-
-