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