public class CodeGeneration extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CodeGeneration.Models |
static class |
CodeGeneration.Scenes |
| 构造器和说明 |
|---|
CodeGeneration() |
CodeGeneration(String protocol) |
CodeGeneration(String protocol,
String baseUrl) |
CodeGeneration(String protocol,
String baseUrl,
ConnectionOptions connectionOptions) |
| 限定符和类型 | 方法和说明 |
|---|---|
CodeGenerationResult |
call(CodeGenerationParam param)
Call the server to get the whole result.
|
void |
call(CodeGenerationParam param,
ResultCallback<CodeGenerationResult> callback)
Call the server to get the result in the callback function.
|
io.reactivex.Flowable<CodeGenerationResult> |
streamCall(CodeGenerationParam param)
Call the server to get the result by stream.
|
void |
streamCall(CodeGenerationParam param,
ResultCallback<CodeGenerationResult> callback)
Call the server to get the result by stream.
|
public CodeGeneration()
public CodeGeneration(String protocol)
public CodeGeneration(String protocol, String baseUrl, ConnectionOptions connectionOptions)
public CodeGenerationResult call(CodeGenerationParam param) throws ApiException, NoApiKeyException, InputRequiredException
param - The input param of class `CodeGenerationParam`.NoApiKeyException - Can not find api keyInputRequiredException - Missing inputs.ApiExceptionpublic void call(CodeGenerationParam param, ResultCallback<CodeGenerationResult> callback) throws ApiException, NoApiKeyException, InputRequiredException
param - The input param of class `CodeGenerationParam`.callback - The callback to receive response, the template class is `CodeGenerationResult`.NoApiKeyException - Can not find api keyApiException - The request failed, possibly due to a network or data error.InputRequiredException - Missing inputs.public io.reactivex.Flowable<CodeGenerationResult> streamCall(CodeGenerationParam param) throws ApiException, NoApiKeyException, InputRequiredException
param - The input param of class `CodeGenerationParam`.NoApiKeyException - Can not find api keyApiException - The request failed, possibly due to a network or data error.InputRequiredException - Missing inputs.public void streamCall(CodeGenerationParam param, ResultCallback<CodeGenerationResult> callback) throws ApiException, NoApiKeyException, InputRequiredException
param - The input param of class `CodeGenerationParam`.callback - The result callback.NoApiKeyException - Can not find api keyApiException - The request failed, possibly due to a network or data error.InputRequiredException - The input field is missing.Copyright © 2024. All rights reserved.