public class SkillImport
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
SkillImport.Builder
Builder.
|
static interface |
SkillImport.Status
The current status of the skill: - **Available**: The skill is available and ready to process
messages.
|
static interface |
SkillImport.Type
The type of skill.
|
Modifier and Type | Method and Description |
---|---|
String |
assistantId()
Gets the assistantId.
|
String |
description()
Gets the description.
|
Map<String,Object> |
dialogSettings()
Gets the dialogSettings.
|
String |
environmentId()
Gets the environmentId.
|
String |
language()
Gets the language.
|
String |
name()
Gets the name.
|
SkillImport.Builder |
newBuilder()
New builder.
|
String |
nextSnapshotVersion()
Gets the nextSnapshotVersion.
|
SearchSettings |
searchSettings()
Gets the searchSettings.
|
String |
skillId()
Gets the skillId.
|
String |
status()
Gets the status.
|
String |
statusDescription()
Gets the statusDescription.
|
List<StatusError> |
statusErrors()
Gets the statusErrors.
|
String |
type()
Gets the type.
|
Boolean |
valid()
Gets the valid.
|
List<SearchSkillWarning> |
warnings()
Gets the warnings.
|
Map<String,Object> |
workspace()
Gets the workspace.
|
String |
workspaceId()
Gets the workspaceId.
|
public SkillImport.Builder newBuilder()
public String name()
The name of the skill. This string cannot contain carriage return, newline, or tab characters.
public String description()
The description of the skill. This string cannot contain carriage return, newline, or tab characters.
public Map<String,Object> workspace()
An object containing the conversational content of an action or dialog skill.
public String skillId()
The skill ID of the skill.
public String status()
The current status of the skill: - **Available**: The skill is available and ready to process messages. - **Failed**: An asynchronous operation has failed. See the **status_errors** property for more information about the cause of the failure. - **Non Existent**: The skill does not exist. - **Processing**: An asynchronous operation has not yet completed. - **Training**: The skill is training based on new data.
public List<StatusError> statusErrors()
An array of messages about errors that caused an asynchronous operation to fail. Included only if **status**=`Failed`.
public String statusDescription()
The description of the failed asynchronous operation. Included only if **status**=`Failed`.
public Map<String,Object> dialogSettings()
For internal use only.
public String assistantId()
The unique identifier of the assistant the skill is associated with.
public String workspaceId()
The unique identifier of the workspace that contains the skill content. Included only for action and dialog skills.
public String environmentId()
The unique identifier of the environment where the skill is defined. For action and dialog skills, this is always the draft environment.
public Boolean valid()
Whether the skill is structurally valid.
public String nextSnapshotVersion()
The name that will be given to the next snapshot that is created for the skill. A snapshot of each versionable skill is saved for each new release of an assistant.
public SearchSettings searchSettings()
An object describing the search skill configuration.
public List<SearchSkillWarning> warnings()
An array of warnings describing errors with the search skill configuration. Included only for search skills.
public String language()
The language of the skill.
public String type()
The type of skill.
Copyright © 2023 IBM Cloud. All rights reserved.