Class CompileQueryWithPartialEvaluationResponse
java.lang.Object
com.styra.opa.openapi.models.operations.CompileQueryWithPartialEvaluationResponse
- All Implemented Interfaces:
Response
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
-
Constructor Summary
ConstructorsConstructorDescriptionCompileQueryWithPartialEvaluationResponse
(String contentType, int statusCode, HttpResponse<InputStream> rawResponse) CompileQueryWithPartialEvaluationResponse
(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Optional<? extends CompileResultJSON> compileResultJSON, Optional<? extends CompileResultMultitarget> compileResultMultitarget, Optional<? extends CompileResultUCAST> compileResultUCAST, Optional<? extends CompileResultSQL> compileResultSQL) -
Method Summary
Modifier and TypeMethodDescriptionstatic final CompileQueryWithPartialEvaluationResponse.Builder
builder()
Successful responseSuccessful responseSuccessful responseSuccessful responseHTTP response content type for this operationboolean
int
hashCode()
Raw HTTP response; suitable for custom response parsingint
HTTP response status code for this operationtoString()
withCompileResultJSON
(CompileResultJSON compileResultJSON) Successful responsewithCompileResultJSON
(Optional<? extends CompileResultJSON> compileResultJSON) Successful responsewithCompileResultMultitarget
(CompileResultMultitarget compileResultMultitarget) Successful responsewithCompileResultMultitarget
(Optional<? extends CompileResultMultitarget> compileResultMultitarget) Successful responsewithCompileResultSQL
(CompileResultSQL compileResultSQL) Successful responsewithCompileResultSQL
(Optional<? extends CompileResultSQL> compileResultSQL) Successful responsewithCompileResultUCAST
(CompileResultUCAST compileResultUCAST) Successful responsewithCompileResultUCAST
(Optional<? extends CompileResultUCAST> compileResultUCAST) Successful responsewithContentType
(String contentType) HTTP response content type for this operationwithRawResponse
(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsingwithStatusCode
(int statusCode) HTTP response status code for this operation
-
Constructor Details
-
CompileQueryWithPartialEvaluationResponse
public CompileQueryWithPartialEvaluationResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Optional<? extends CompileResultJSON> compileResultJSON, Optional<? extends CompileResultMultitarget> compileResultMultitarget, Optional<? extends CompileResultUCAST> compileResultUCAST, Optional<? extends CompileResultSQL> compileResultSQL) -
CompileQueryWithPartialEvaluationResponse
public CompileQueryWithPartialEvaluationResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse)
-
-
Method Details
-
contentType
HTTP response content type for this operation- Specified by:
contentType
in interfaceResponse
-
statusCode
public int statusCode()HTTP response status code for this operation- Specified by:
statusCode
in interfaceResponse
-
rawResponse
Raw HTTP response; suitable for custom response parsing- Specified by:
rawResponse
in interfaceResponse
-
compileResultJSON
Successful response -
compileResultMultitarget
Successful response -
compileResultUCAST
Successful response -
compileResultSQL
Successful response -
builder
-
withContentType
HTTP response content type for this operation -
withStatusCode
HTTP response status code for this operation -
withRawResponse
public CompileQueryWithPartialEvaluationResponse withRawResponse(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsing -
withCompileResultJSON
public CompileQueryWithPartialEvaluationResponse withCompileResultJSON(Optional<? extends CompileResultJSON> compileResultJSON) Successful response -
withCompileResultMultitarget
public CompileQueryWithPartialEvaluationResponse withCompileResultMultitarget(Optional<? extends CompileResultMultitarget> compileResultMultitarget) Successful response -
withCompileResultUCAST
public CompileQueryWithPartialEvaluationResponse withCompileResultUCAST(Optional<? extends CompileResultUCAST> compileResultUCAST) Successful response -
withCompileResultSQL
public CompileQueryWithPartialEvaluationResponse withCompileResultSQL(Optional<? extends CompileResultSQL> compileResultSQL) Successful response -
equals
-
hashCode
public int hashCode() -
toString
-