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:
    com.google.gwt.event.shared.HasHandlers

      public class BuildAIFieldRequestResponse
      extends BuildViaAIResponse

  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.
  See Also:
    `AI.buildAIFieldRequest(com.smartgwt.client.ai.BuildAIFieldRequestRequest, com.smartgwt.client.callbacks.BuildAIFieldRequestResponseCallback)`

- - ### Field Summary

    - ### Fields inherited from class com.smartgwt.client.core.RefDataClass

      `id`

    - ### Fields inherited from class com.smartgwt.client.core.DataClass

      `factoryCreated, factoryProperties`

    - ### Fields inherited from class com.smartgwt.client.core.JsObject

      `jsObj`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BuildAIFieldRequestResponse()`
    `BuildAIFieldRequestResponse(com.google.gwt.core.client.JavaScriptObject jsObj)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `AIFieldRequest` | `getAIFieldRequest()` If successful, the generated `AIFieldRequest`.
    `static BuildAIFieldRequestResponse` | `getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `BuildAIFieldRequestResponse` | `setAIFieldRequest(AIFieldRequest aiFieldRequest)` If successful, the generated `AIFieldRequest`.

    - ### 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`

    - ### Methods inherited from class com.smartgwt.client.core.JsObject

      `equals, getJsObj, hashCode, isCreated, setJavaScriptObject, setJsObj`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BuildAIFieldRequestResponse

          public BuildAIFieldRequestResponse()

    - #### BuildAIFieldRequestResponse

          public BuildAIFieldRequestResponse(com.google.gwt.core.client.JavaScriptObject jsObj)

  - ### Method Detail

    - #### getOrCreateRef

          public static BuildAIFieldRequestResponse getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)

    - #### setAIFieldRequest

          public BuildAIFieldRequestResponse setAIFieldRequest(AIFieldRequest aiFieldRequest)

      If successful, the generated `AIFieldRequest`.
      Parameters:
        `aiFieldRequest` - New aiFieldRequest value. Default value is null
      Returns:
        `BuildAIFieldRequestResponse` instance, for chaining setter calls

    - #### getAIFieldRequest

          public AIFieldRequest getAIFieldRequest()

      If successful, the generated `AIFieldRequest`.
      Returns:
        Current aiFieldRequest value. Default value is null