Class AtsGetCandidateNoteResponse
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.AtsGetCandidateNoteResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAtsGetCandidateNoteResponse.Builder
-
Constructor Summary
Constructors Constructor Description AtsGetCandidateNoteResponse(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)AtsGetCandidateNoteResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends NoteResult> noteResult, 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 AtsGetCandidateNoteResponse.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.util.Optional<NoteResult>noteResult()The note with the given identifier related to the candidate with the given identifier was retrieved.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()AtsGetCandidateNoteResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationAtsGetCandidateNoteResponsewithHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)AtsGetCandidateNoteResponsewithNoteResult(NoteResult noteResult)The note with the given identifier related to the candidate with the given identifier was retrieved.AtsGetCandidateNoteResponsewithNoteResult(java.util.Optional<? extends NoteResult> noteResult)The note with the given identifier related to the candidate with the given identifier was retrieved.AtsGetCandidateNoteResponsewithRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingAtsGetCandidateNoteResponsewithStatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Constructor Detail
-
AtsGetCandidateNoteResponse
public AtsGetCandidateNoteResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends NoteResult> noteResult, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
AtsGetCandidateNoteResponse
public AtsGetCandidateNoteResponse(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
-
noteResult
public java.util.Optional<NoteResult> noteResult()
The note with the given identifier related to the candidate with the given identifier was retrieved.
-
headers
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers()
-
builder
public static AtsGetCandidateNoteResponse.Builder builder()
-
withContentType
public AtsGetCandidateNoteResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public AtsGetCandidateNoteResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public AtsGetCandidateNoteResponse withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withNoteResult
public AtsGetCandidateNoteResponse withNoteResult(NoteResult noteResult)
The note with the given identifier related to the candidate with the given identifier was retrieved.
-
withNoteResult
public AtsGetCandidateNoteResponse withNoteResult(java.util.Optional<? extends NoteResult> noteResult)
The note with the given identifier related to the candidate with the given identifier was retrieved.
-
withHeaders
public AtsGetCandidateNoteResponse 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
-
-