com.smartgwt.client.ai

## Class SuggestRecordSummaryTitleResult

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

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

      public class SuggestRecordSummaryTitleResult
      extends AsyncOperationResult

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

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SuggestRecordSummaryTitleResult` | `getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `java.lang.String[]` | `getRelevantFieldNames()` If set, the list of field names that are potentially relevant to the record summary requests. If unset, either the `SuggestRecordSummaryTitleRequest` was unsuccessful or no determination was made as to the potentially relevant field names.
    `java.lang.String` | `getSuggestedTitle()` If successful, the AI-generated suggestion for a title of a field that will contain the AI-generated record summaries.
    `SuggestRecordSummaryTitleResult` | `setRelevantFieldNames(java.lang.String... relevantFieldNames)` If set, the list of field names that are potentially relevant to the record summary requests. If unset, either the `SuggestRecordSummaryTitleRequest` was unsuccessful or no determination was made as to the potentially relevant field names.
    `SuggestRecordSummaryTitleResult` | `setSuggestedTitle(java.lang.String suggestedTitle)` If successful, the AI-generated suggestion for a title of a field that will contain the AI-generated record summaries.

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

    - #### SuggestRecordSummaryTitleResult

          public SuggestRecordSummaryTitleResult()

    - #### SuggestRecordSummaryTitleResult

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

  - ### Method Detail

    - #### getOrCreateRef

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

    - #### setRelevantFieldNames

          public SuggestRecordSummaryTitleResult setRelevantFieldNames(java.lang.String... relevantFieldNames)

      If set, the list of field names that are potentially relevant to the record summary requests.
      If unset, either the `SuggestRecordSummaryTitleRequest` was unsuccessful or no determination was made as to the potentially relevant field names.
      Parameters:
        `relevantFieldNames` - New relevantFieldNames value. Default value is null
      Returns:
        `SuggestRecordSummaryTitleResult` instance, for chaining setter calls
      See Also:
        `FieldName`

    - #### getRelevantFieldNames

          public java.lang.String[] getRelevantFieldNames()

      If set, the list of field names that are potentially relevant to the record summary requests.
      If unset, either the `SuggestRecordSummaryTitleRequest` was unsuccessful or no determination was made as to the potentially relevant field names.
      Returns:
        Current relevantFieldNames value. Default value is null
      See Also:
        `FieldName`

    - #### setSuggestedTitle

          public SuggestRecordSummaryTitleResult setSuggestedTitle(java.lang.String suggestedTitle)

      If successful, the AI-generated suggestion for a title of a field that will contain the AI-generated record summaries.

      The suggested title will not be `null`, will be trimmed of leading and trailing whitespace, and will not be an empty string.

      Parameters:
        `suggestedTitle` - New suggestedTitle value. Default value is null
      Returns:
        `SuggestRecordSummaryTitleResult` instance, for chaining setter calls

    - #### getSuggestedTitle

          public java.lang.String getSuggestedTitle()

      If successful, the AI-generated suggestion for a title of a field that will contain the AI-generated record summaries.

      The suggested title will not be `null`, will be trimmed of leading and trailing whitespace, and will not be an empty string.

      Returns:
        Current suggestedTitle value. Default value is null