Class HrisDownloadEmployeeDocumentResponse
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.HrisDownloadEmployeeDocumentResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHrisDownloadEmployeeDocumentResponse.Builder
-
Constructor Summary
Constructors Constructor Description HrisDownloadEmployeeDocumentResponse(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)HrisDownloadEmployeeDocumentResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<byte[]> body, java.util.Optional<java.lang.String> downloadApiModel, java.util.Optional<? extends DownloadApiModel> downloadApiModel1, 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 java.util.Optional<byte[]>body()static HrisDownloadEmployeeDocumentResponse.Builderbuilder()java.lang.StringcontentType()HTTP response content type for this operationjava.util.Optional<java.lang.String>downloadApiModel()The document related to the employee with the given identifiers was retrieved.java.util.Optional<DownloadApiModel>downloadApiModel1()The document related to the employee with the given identifiers was retrieved.booleanequals(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 parsingintstatusCode()HTTP response status code for this operationjava.lang.StringtoString()HrisDownloadEmployeeDocumentResponsewithBody(byte[] body)HrisDownloadEmployeeDocumentResponsewithBody(java.util.Optional<byte[]> body)HrisDownloadEmployeeDocumentResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationHrisDownloadEmployeeDocumentResponsewithDownloadApiModel(java.lang.String downloadApiModel)The document related to the employee with the given identifiers was retrieved.HrisDownloadEmployeeDocumentResponsewithDownloadApiModel(java.util.Optional<java.lang.String> downloadApiModel)The document related to the employee with the given identifiers was retrieved.HrisDownloadEmployeeDocumentResponsewithDownloadApiModel1(DownloadApiModel downloadApiModel1)The document related to the employee with the given identifiers was retrieved.HrisDownloadEmployeeDocumentResponsewithDownloadApiModel1(java.util.Optional<? extends DownloadApiModel> downloadApiModel1)The document related to the employee with the given identifiers was retrieved.HrisDownloadEmployeeDocumentResponsewithHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)HrisDownloadEmployeeDocumentResponsewithRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingHrisDownloadEmployeeDocumentResponsewithStatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Constructor Detail
-
HrisDownloadEmployeeDocumentResponse
public HrisDownloadEmployeeDocumentResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<byte[]> body, java.util.Optional<java.lang.String> downloadApiModel, java.util.Optional<? extends DownloadApiModel> downloadApiModel1, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
HrisDownloadEmployeeDocumentResponse
public HrisDownloadEmployeeDocumentResponse(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
-
body
public java.util.Optional<byte[]> body()
-
downloadApiModel
public java.util.Optional<java.lang.String> downloadApiModel()
The document related to the employee with the given identifiers was retrieved.
-
downloadApiModel1
public java.util.Optional<DownloadApiModel> downloadApiModel1()
The document related to the employee with the given identifiers was retrieved.
-
headers
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers()
-
builder
public static HrisDownloadEmployeeDocumentResponse.Builder builder()
-
withContentType
public HrisDownloadEmployeeDocumentResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public HrisDownloadEmployeeDocumentResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public HrisDownloadEmployeeDocumentResponse withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withBody
public HrisDownloadEmployeeDocumentResponse withBody(byte[] body)
-
withBody
public HrisDownloadEmployeeDocumentResponse withBody(java.util.Optional<byte[]> body)
-
withDownloadApiModel
public HrisDownloadEmployeeDocumentResponse withDownloadApiModel(java.lang.String downloadApiModel)
The document related to the employee with the given identifiers was retrieved.
-
withDownloadApiModel
public HrisDownloadEmployeeDocumentResponse withDownloadApiModel(java.util.Optional<java.lang.String> downloadApiModel)
The document related to the employee with the given identifiers was retrieved.
-
withDownloadApiModel1
public HrisDownloadEmployeeDocumentResponse withDownloadApiModel1(DownloadApiModel downloadApiModel1)
The document related to the employee with the given identifiers was retrieved.
-
withDownloadApiModel1
public HrisDownloadEmployeeDocumentResponse withDownloadApiModel1(java.util.Optional<? extends DownloadApiModel> downloadApiModel1)
The document related to the employee with the given identifiers was retrieved.
-
withHeaders
public HrisDownloadEmployeeDocumentResponse 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
-
-