Package com.merative.acd.v1.model
Class AnalyzeWithFlowOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.merative.acd.v1.model.AnalyzeWithFlowOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class AnalyzeWithFlowOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The analyzeWithFlow options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnalyzeWithFlowOptions.Builder
Builder.static interface
AnalyzeWithFlowOptions.ContentType
The type of the input: text/plain or application/json.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
body()
Gets the body.java.lang.String
contentType()
Gets the contentType.boolean
debug()
Gets the debug flag.java.lang.String
flowId()
Gets the flowId.AnalyzeWithFlowOptions.Builder
newBuilder()
New builder.RequestContainer
request()
Gets the request.boolean
returnAnalyzedText()
Gets the returnAnalyzedText.
-
-
-
Method Detail
-
newBuilder
public AnalyzeWithFlowOptions.Builder newBuilder()
New builder.- Returns:
- a AnalyzeWithFlowOptions builder
-
flowId
public java.lang.String flowId()
Gets the flowId. flow identifier .- Returns:
- the flowId
-
request
public RequestContainer request()
Gets the request. Input request data in TEXT or JSON format .- Returns:
- the request
-
body
public java.lang.String body()
Gets the body. Input request data in TEXT or JSON format .- Returns:
- the body
-
contentType
public java.lang.String contentType()
Gets the contentType. The type of the input: text/plain or application/json. A character encoding can be specified by including a `charset` parameter. For example, 'text/plain;charset=utf-8'.- Returns:
- the contentType
-
returnAnalyzedText
public boolean returnAnalyzedText()
Gets the returnAnalyzedText. true or false- Returns:
- the returnAnalyzedText
-
debug
public boolean debug()
Gets the debug flag. true or false- Returns:
- the debug flag
-
-