public class CustomModel
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Method and Description |
---|---|
String |
getCreated()
Gets the created.
|
String |
getCustomizationId()
Gets the customizationId.
|
String |
getDescription()
Gets the description.
|
String |
getLanguage()
Gets the language.
|
String |
getLastModified()
Gets the lastModified.
|
String |
getName()
Gets the name.
|
String |
getOwner()
Gets the owner.
|
List<Prompt> |
getPrompts()
Gets the prompts.
|
List<Word> |
getWords()
Gets the words.
|
public String getCustomizationId()
The customization ID (GUID) of the custom model. The [Create a custom model](#createcustommodel) method returns only this field. It does not not return the other fields of this object.
public String getName()
The name of the custom model.
public String getLanguage()
The language identifier of the custom model (for example, `en-US`).
public String getOwner()
The GUID of the credentials for the instance of the service that owns the custom model.
public String getCreated()
The date and time in Coordinated Universal Time (UTC) at which the custom model was created. The value is provided in full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`).
public String getLastModified()
The date and time in Coordinated Universal Time (UTC) at which the custom model was last modified. The `created` and `updated` fields are equal when a model is first added but has yet to be updated. The value is provided in full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`).
public String getDescription()
The description of the custom model.
public List<Word> getWords()
An array of `Word` objects that lists the words and their translations from the custom model. The words are listed in alphabetical order, with uppercase letters listed before lowercase letters. The array is empty if no words are defined for the custom model. This field is returned only by the [Get a custom model](#getcustommodel) method.
public List<Prompt> getPrompts()
An array of `Prompt` objects that provides information about the prompts that are defined for the specified custom model. The array is empty if no prompts are defined for the custom model. This field is returned only by the [Get a custom model](#getcustommodel) method.
Copyright © 2023 IBM Cloud. All rights reserved.