Pattern class
Klass som representerar ett mönster.
Konstruktorer
Pattern(LUISAuthoring |
Skapa ett mönster. |
Metoder
Konstruktorinformation
Pattern(LUISAuthoringClientContext)
Skapa ett mönster.
new Pattern(client: LUISAuthoringClientContext)
Parametrar
- client
- LUISAuthoringClientContext
Referens till tjänstklienten.
Metodinformation
addPattern(string, string, PatternRuleCreateObject, RequestOptionsBase)
function addPattern(appId: string, versionId: string, pattern: PatternRuleCreateObject, options?: RequestOptionsBase): Promise<PatternAddPatternResponse>
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- pattern
- PatternRuleCreateObject
Indatamönstret.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<PatternAddPatternResponse>
Promise<Models.PatternAddPatternResponse>
addPattern(string, string, PatternRuleCreateObject, RequestOptionsBase, ServiceCallback<PatternRuleInfo>)
function addPattern(appId: string, versionId: string, pattern: PatternRuleCreateObject, options: RequestOptionsBase, callback: ServiceCallback<PatternRuleInfo>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- pattern
- PatternRuleCreateObject
Indatamönstret.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
addPattern(string, string, PatternRuleCreateObject, ServiceCallback<PatternRuleInfo>)
function addPattern(appId: string, versionId: string, pattern: PatternRuleCreateObject, callback: ServiceCallback<PatternRuleInfo>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- pattern
- PatternRuleCreateObject
Indatamönstret.
- callback
Återanropet
batchAddPatterns(string, string, PatternRuleCreateObject[], RequestOptionsBase)
function batchAddPatterns(appId: string, versionId: string, patterns: PatternRuleCreateObject[], options?: RequestOptionsBase): Promise<PatternBatchAddPatternsResponse>
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patterns
En JSON-matris som innehåller mönster.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<PatternBatchAddPatternsResponse>
Promise<Models.PatternBatchAddPatternsResponse>
batchAddPatterns(string, string, PatternRuleCreateObject[], RequestOptionsBase, ServiceCallback<PatternRuleInfo[]>)
function batchAddPatterns(appId: string, versionId: string, patterns: PatternRuleCreateObject[], options: RequestOptionsBase, callback: ServiceCallback<PatternRuleInfo[]>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patterns
En JSON-matris som innehåller mönster.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
batchAddPatterns(string, string, PatternRuleCreateObject[], ServiceCallback<PatternRuleInfo[]>)
function batchAddPatterns(appId: string, versionId: string, patterns: PatternRuleCreateObject[], callback: ServiceCallback<PatternRuleInfo[]>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patterns
En JSON-matris som innehåller mönster.
- callback
Återanropet
deletePattern(string, string, string, RequestOptionsBase)
function deletePattern(appId: string, versionId: string, patternId: string, options?: RequestOptionsBase): Promise<PatternDeletePatternResponse>
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patternId
-
string
Mönster-ID.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<PatternDeletePatternResponse>
Promise<Models.PatternDeletePatternResponse>
deletePattern(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
function deletePattern(appId: string, versionId: string, patternId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patternId
-
string
Mönster-ID.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
deletePattern(string, string, string, ServiceCallback<OperationStatus>)
function deletePattern(appId: string, versionId: string, patternId: string, callback: ServiceCallback<OperationStatus>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patternId
-
string
Mönster-ID.
- callback
Återanropet
deletePatterns(string, string, string[], RequestOptionsBase)
function deletePatterns(appId: string, versionId: string, patternIds: string[], options?: RequestOptionsBase): Promise<PatternDeletePatternsResponse>
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patternIds
-
string[]
Mönster-ID:t.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<PatternDeletePatternsResponse>
Promise<Models.PatternDeletePatternsResponse>
deletePatterns(string, string, string[], RequestOptionsBase, ServiceCallback<OperationStatus>)
function deletePatterns(appId: string, versionId: string, patternIds: string[], options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patternIds
-
string[]
Mönster-ID:t.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
deletePatterns(string, string, string[], ServiceCallback<OperationStatus>)
function deletePatterns(appId: string, versionId: string, patternIds: string[], callback: ServiceCallback<OperationStatus>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patternIds
-
string[]
Mönster-ID:t.
- callback
Återanropet
listIntentPatterns(string, string, string, PatternListIntentPatternsOptionalParams)
function listIntentPatterns(appId: string, versionId: string, intentId: string, options?: PatternListIntentPatternsOptionalParams): Promise<PatternListIntentPatternsResponse>
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- intentId
-
string
Avsiktsklassificerarens ID.
De valfria parametrarna
Returer
Promise<PatternListIntentPatternsResponse>
Promise<Models.PatternListIntentPatternsResponse>
listIntentPatterns(string, string, string, PatternListIntentPatternsOptionalParams, ServiceCallback<PatternRuleInfo[]>)
function listIntentPatterns(appId: string, versionId: string, intentId: string, options: PatternListIntentPatternsOptionalParams, callback: ServiceCallback<PatternRuleInfo[]>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- intentId
-
string
Avsiktsklassificerarens ID.
De valfria parametrarna
- callback
Återanropet
listIntentPatterns(string, string, string, ServiceCallback<PatternRuleInfo[]>)
function listIntentPatterns(appId: string, versionId: string, intentId: string, callback: ServiceCallback<PatternRuleInfo[]>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- intentId
-
string
Avsiktsklassificerarens ID.
- callback
Återanropet
listPatterns(string, string, PatternListPatternsOptionalParams)
function listPatterns(appId: string, versionId: string, options?: PatternListPatternsOptionalParams): Promise<PatternListPatternsResponse>
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
De valfria parametrarna
Returer
Promise<PatternListPatternsResponse>
Promise<Models.PatternListPatternsResponse>
listPatterns(string, string, PatternListPatternsOptionalParams, ServiceCallback<PatternRuleInfo[]>)
function listPatterns(appId: string, versionId: string, options: PatternListPatternsOptionalParams, callback: ServiceCallback<PatternRuleInfo[]>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
De valfria parametrarna
- callback
Återanropet
listPatterns(string, string, ServiceCallback<PatternRuleInfo[]>)
function listPatterns(appId: string, versionId: string, callback: ServiceCallback<PatternRuleInfo[]>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- callback
Återanropet
updatePattern(string, string, string, PatternRuleUpdateObject, RequestOptionsBase)
function updatePattern(appId: string, versionId: string, patternId: string, pattern: PatternRuleUpdateObject, options?: RequestOptionsBase): Promise<PatternUpdatePatternResponse>
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patternId
-
string
Mönster-ID.
- pattern
- PatternRuleUpdateObject
Ett objekt som representerar ett mönster.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<PatternUpdatePatternResponse>
Promise<Models.PatternUpdatePatternResponse>
updatePattern(string, string, string, PatternRuleUpdateObject, RequestOptionsBase, ServiceCallback<PatternRuleInfo>)
function updatePattern(appId: string, versionId: string, patternId: string, pattern: PatternRuleUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<PatternRuleInfo>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patternId
-
string
Mönster-ID.
- pattern
- PatternRuleUpdateObject
Ett objekt som representerar ett mönster.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
updatePattern(string, string, string, PatternRuleUpdateObject, ServiceCallback<PatternRuleInfo>)
function updatePattern(appId: string, versionId: string, patternId: string, pattern: PatternRuleUpdateObject, callback: ServiceCallback<PatternRuleInfo>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patternId
-
string
Mönster-ID.
- pattern
- PatternRuleUpdateObject
Ett objekt som representerar ett mönster.
- callback
Återanropet
updatePatterns(string, string, PatternRuleUpdateObject[], RequestOptionsBase)
function updatePatterns(appId: string, versionId: string, patterns: PatternRuleUpdateObject[], options?: RequestOptionsBase): Promise<PatternUpdatePatternsResponse>
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patterns
En matris representerar mönstren.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<PatternUpdatePatternsResponse>
Promise<Models.PatternUpdatePatternsResponse>
updatePatterns(string, string, PatternRuleUpdateObject[], RequestOptionsBase, ServiceCallback<PatternRuleInfo[]>)
function updatePatterns(appId: string, versionId: string, patterns: PatternRuleUpdateObject[], options: RequestOptionsBase, callback: ServiceCallback<PatternRuleInfo[]>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patterns
En matris representerar mönstren.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
updatePatterns(string, string, PatternRuleUpdateObject[], ServiceCallback<PatternRuleInfo[]>)
function updatePatterns(appId: string, versionId: string, patterns: PatternRuleUpdateObject[], callback: ServiceCallback<PatternRuleInfo[]>)
Parametrar
- appId
-
string
Program-ID:t.
- versionId
-
string
Versions-ID.
- patterns
En matris representerar mönstren.
- callback
Återanropet