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