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