Alterations class
Klasa reprezentująca zmiany.
Konstruktory
Alterations(Qn |
Utwórz zmiany. |
Metody
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<AlterationsGetResponse>
Promise<Models.AlterationsGetResponse>
get(RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)
function get(options: RequestOptionsBase, callback: ServiceCallback<WordAlterationsDTO>)
Parametry
- options
- RequestOptionsBase
Parametry opcjonalne
- callback
Wywołanie zwrotne
get(ServiceCallback<WordAlterationsDTO>)
function get(callback: ServiceCallback<WordAlterationsDTO>)
Parametry
- callback
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
Wywołanie zwrotne
getAlterationsForKb(string, ServiceCallback<WordAlterationsDTO>)
function getAlterationsForKb(kbId: string, callback: ServiceCallback<WordAlterationsDTO>)
Parametry
- kbId
-
string
Identyfikator bazy wiedzy.
- callback
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