Alterations class

Klasa reprezentująca zmiany.

Konstruktory

Alterations(QnAMakerClientContext)

Utwórz zmiany.

Metody

get(RequestOptionsBase)
get(RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)
get(ServiceCallback<WordAlterationsDTO>)
getAlterationsForKb(string, RequestOptionsBase)
getAlterationsForKb(string, RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)
getAlterationsForKb(string, ServiceCallback<WordAlterationsDTO>)
replace(WordAlterationsDTO, RequestOptionsBase)
replace(WordAlterationsDTO, RequestOptionsBase, ServiceCallback<void>)
replace(WordAlterationsDTO, ServiceCallback<void>)
replaceAlterationsForKb(string, WordAlterationsDTO, RequestOptionsBase)
replaceAlterationsForKb(string, WordAlterationsDTO, RequestOptionsBase, ServiceCallback<void>)
replaceAlterationsForKb(string, WordAlterationsDTO, ServiceCallback<void>)

Szczegóły konstruktora

Alterations(QnAMakerClientContext)

Utwórz zmiany.

new Alterations(client: QnAMakerClientContext)

Parametry

client
QnAMakerClientContext

Odwołanie do klienta usługi.

Szczegóły metody

get(RequestOptionsBase)

function get(options?: RequestOptionsBase): Promise<AlterationsGetResponse>

Parametry

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<Models.AlterationsGetResponse>

get(RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)

function get(options: RequestOptionsBase, callback: ServiceCallback<WordAlterationsDTO>)

Parametry

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<WordAlterationsDTO>

Wywołanie zwrotne

get(ServiceCallback<WordAlterationsDTO>)

function get(callback: ServiceCallback<WordAlterationsDTO>)

Parametry

callback

ServiceCallback<WordAlterationsDTO>

Wywołanie zwrotne

getAlterationsForKb(string, RequestOptionsBase)

function getAlterationsForKb(kbId: string, options?: RequestOptionsBase): Promise<AlterationsGetAlterationsForKbResponse>

Parametry

kbId

string

Identyfikator bazy wiedzy.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<Models.AlterationsGetAlterationsForKbResponse>

getAlterationsForKb(string, RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)

function getAlterationsForKb(kbId: string, options: RequestOptionsBase, callback: ServiceCallback<WordAlterationsDTO>)

Parametry

kbId

string

Identyfikator bazy wiedzy.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<WordAlterationsDTO>

Wywołanie zwrotne

getAlterationsForKb(string, ServiceCallback<WordAlterationsDTO>)

function getAlterationsForKb(kbId: string, callback: ServiceCallback<WordAlterationsDTO>)

Parametry

kbId

string

Identyfikator bazy wiedzy.

callback

ServiceCallback<WordAlterationsDTO>

Wywołanie zwrotne

replace(WordAlterationsDTO, RequestOptionsBase)

function replace(wordAlterations: WordAlterationsDTO, options?: RequestOptionsBase): Promise<RestResponse>

Parametry

wordAlterations
WordAlterationsDTO

Nowe zmiany danych.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<RestResponse>

Promise<msRest.RestResponse>

replace(WordAlterationsDTO, RequestOptionsBase, ServiceCallback<void>)

function replace(wordAlterations: WordAlterationsDTO, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parametry

wordAlterations
WordAlterationsDTO

Nowe zmiany danych.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<void>

Wywołanie zwrotne

replace(WordAlterationsDTO, ServiceCallback<void>)

function replace(wordAlterations: WordAlterationsDTO, callback: ServiceCallback<void>)

Parametry

wordAlterations
WordAlterationsDTO

Nowe zmiany danych.

callback

ServiceCallback<void>

Wywołanie zwrotne

replaceAlterationsForKb(string, WordAlterationsDTO, RequestOptionsBase)

function replaceAlterationsForKb(kbId: string, wordAlterations: WordAlterationsDTO, options?: RequestOptionsBase): Promise<RestResponse>

Parametry

kbId

string

Identyfikator bazy wiedzy.

wordAlterations
WordAlterationsDTO

Nowe zmiany danych.

options
RequestOptionsBase

Parametry opcjonalne

Zwraca

Promise<RestResponse>

Promise<msRest.RestResponse>

replaceAlterationsForKb(string, WordAlterationsDTO, RequestOptionsBase, ServiceCallback<void>)

function replaceAlterationsForKb(kbId: string, wordAlterations: WordAlterationsDTO, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parametry

kbId

string

Identyfikator bazy wiedzy.

wordAlterations
WordAlterationsDTO

Nowe zmiany danych.

options
RequestOptionsBase

Parametry opcjonalne

callback

ServiceCallback<void>

Wywołanie zwrotne

replaceAlterationsForKb(string, WordAlterationsDTO, ServiceCallback<void>)

function replaceAlterationsForKb(kbId: string, wordAlterations: WordAlterationsDTO, callback: ServiceCallback<void>)

Parametry

kbId

string

Identyfikator bazy wiedzy.

wordAlterations
WordAlterationsDTO

Nowe zmiany danych.

callback

ServiceCallback<void>

Wywołanie zwrotne