Class LmsGetCompletionResponse
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.LmsGetCompletionResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLmsGetCompletionResponse.Builder
-
Constructor Summary
Constructors Constructor Description LmsGetCompletionResponse(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)LmsGetCompletionResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends CompletionResult> completionResult, 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 LmsGetCompletionResponse.Builderbuilder()java.util.Optional<CompletionResult>completionResult()The completion with the given identifier was retrieved.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 parsingintstatusCode()HTTP response status code for this operationjava.lang.StringtoString()LmsGetCompletionResponsewithCompletionResult(CompletionResult completionResult)The completion with the given identifier was retrieved.LmsGetCompletionResponsewithCompletionResult(java.util.Optional<? extends CompletionResult> completionResult)The completion with the given identifier was retrieved.LmsGetCompletionResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationLmsGetCompletionResponsewithHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)LmsGetCompletionResponsewithRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingLmsGetCompletionResponsewithStatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Constructor Detail
-
LmsGetCompletionResponse
public LmsGetCompletionResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends CompletionResult> completionResult, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
LmsGetCompletionResponse
public LmsGetCompletionResponse(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
-
completionResult
public java.util.Optional<CompletionResult> completionResult()
The completion with the given identifier was retrieved.
-
headers
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers()
-
builder
public static LmsGetCompletionResponse.Builder builder()
-
withContentType
public LmsGetCompletionResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public LmsGetCompletionResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public LmsGetCompletionResponse withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withCompletionResult
public LmsGetCompletionResponse withCompletionResult(CompletionResult completionResult)
The completion with the given identifier was retrieved.
-
withCompletionResult
public LmsGetCompletionResponse withCompletionResult(java.util.Optional<? extends CompletionResult> completionResult)
The completion with the given identifier was retrieved.
-
withHeaders
public LmsGetCompletionResponse 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
-
-