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