Package com.smartgwt.client.ai
Class BuildAIFieldRequestResponse
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.util.AsyncOperationResult
com.smartgwt.client.ai.BuildViaAIResponse
com.smartgwt.client.ai.BuildAIFieldRequestResponse
- All Implemented Interfaces:
HasHandlers
Represents a response to a request to build an
AIFieldRequest
from a natural language
description of the per-record values to generate for a new AI-generated field.-
Field Summary
Fields inherited from class com.smartgwt.client.core.RefDataClass
id
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionIf successful, the generatedAIFieldRequest
.static BuildAIFieldRequestResponse
getOrCreateRef
(JavaScriptObject jsObj) setAIFieldRequest
(AIFieldRequest aiFieldRequest) If successful, the generatedAIFieldRequest
.Methods inherited from class com.smartgwt.client.util.AsyncOperationResult
getCancellationReason, getDisabledMessage, getErrorMessage, getType, setCancellationReason, setDisabledMessage, setErrorMessage, setType
Methods inherited from class com.smartgwt.client.core.RefDataClass
getRef, getRef, internalSetID
Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
BuildAIFieldRequestResponse
public BuildAIFieldRequestResponse() -
BuildAIFieldRequestResponse
-
-
Method Details
-
getOrCreateRef
-
setAIFieldRequest
If successful, the generatedAIFieldRequest
.- Parameters:
aiFieldRequest
- New aiFieldRequest value. Default value is null- Returns:
BuildAIFieldRequestResponse
instance, for chaining setter calls
-
getAIFieldRequest
If successful, the generatedAIFieldRequest
.- Returns:
- Current aiFieldRequest value. Default value is null
-