Class HrisGetTimeOffTypeResponse
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.HrisGetTimeOffTypeResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHrisGetTimeOffTypeResponse.Builder
-
Constructor Summary
Constructors Constructor Description HrisGetTimeOffTypeResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)HrisGetTimeOffTypeResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends ReferenceResult> referenceResult, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HrisGetTimeOffTypeResponse.Builderbuilder()java.lang.StringcontentType()HTTP response content type for this operationbooleanequals(java.lang.Object o)inthashCode()java.util.Map<java.lang.String,java.util.List<java.lang.String>>headers()java.net.http.HttpResponse<java.io.InputStream>rawResponse()Raw HTTP response; suitable for custom response parsingjava.util.Optional<ReferenceResult>referenceResult()The time off type with the given identifier was retrieved.intstatusCode()HTTP response status code for this operationjava.lang.StringtoString()HrisGetTimeOffTypeResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationHrisGetTimeOffTypeResponsewithHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)HrisGetTimeOffTypeResponsewithRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingHrisGetTimeOffTypeResponsewithReferenceResult(ReferenceResult referenceResult)The time off type with the given identifier was retrieved.HrisGetTimeOffTypeResponsewithReferenceResult(java.util.Optional<? extends ReferenceResult> referenceResult)The time off type with the given identifier was retrieved.HrisGetTimeOffTypeResponsewithStatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Constructor Detail
-
HrisGetTimeOffTypeResponse
public HrisGetTimeOffTypeResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends ReferenceResult> referenceResult, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
HrisGetTimeOffTypeResponse
public HrisGetTimeOffTypeResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
-
Method Detail
-
contentType
public java.lang.String contentType()
HTTP response content type for this operation- Specified by:
contentTypein interfaceResponse
-
statusCode
public int statusCode()
HTTP response status code for this operation- Specified by:
statusCodein interfaceResponse
-
rawResponse
public java.net.http.HttpResponse<java.io.InputStream> rawResponse()
Raw HTTP response; suitable for custom response parsing- Specified by:
rawResponsein interfaceResponse
-
referenceResult
public java.util.Optional<ReferenceResult> referenceResult()
The time off type with the given identifier was retrieved.
-
headers
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers()
-
builder
public static HrisGetTimeOffTypeResponse.Builder builder()
-
withContentType
public HrisGetTimeOffTypeResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public HrisGetTimeOffTypeResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public HrisGetTimeOffTypeResponse withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withReferenceResult
public HrisGetTimeOffTypeResponse withReferenceResult(ReferenceResult referenceResult)
The time off type with the given identifier was retrieved.
-
withReferenceResult
public HrisGetTimeOffTypeResponse withReferenceResult(java.util.Optional<? extends ReferenceResult> referenceResult)
The time off type with the given identifier was retrieved.
-
withHeaders
public HrisGetTimeOffTypeResponse withHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-