com.smartgwt.client.ai

## Class SummarizeValueResult

- 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.SummarizeValueResult

- All Implemented Interfaces:
    com.google.gwt.event.shared.HasHandlers

      public class SummarizeValueResult
      extends AsyncOperationResult

  The result of a value summarization operation.

- - ### 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
    `SummarizeValueResult()`
    `SummarizeValueResult(com.google.gwt.core.client.JavaScriptObject jsObj)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SummarizeValueResult` | `getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `java.lang.String` | `getSummary()` If successful, the AI-generated summary of the `SummarizeValueRequest.value`.
    `SummarizeValueResult` | `setSummary(java.lang.String summary)` If successful, the AI-generated summary of the `SummarizeValueRequest.value`.

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

    - #### SummarizeValueResult

          public SummarizeValueResult()

    - #### SummarizeValueResult

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

  - ### Method Detail

    - #### getOrCreateRef

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

    - #### setSummary

          public SummarizeValueResult setSummary(java.lang.String summary)

      If successful, the AI-generated summary of the `SummarizeValueRequest.value`.
      Parameters:
        `summary` - New summary value. Default value is *initialized by the implementation*
      Returns:
        `SummarizeValueResult` instance, for chaining setter calls

    - #### getSummary

          public java.lang.String getSummary()

      If successful, the AI-generated summary of the `SummarizeValueRequest.value`.
      Returns:
        Current summary value. Default value is *initialized by the implementation*