Alterations class
Klasse die een wijziging vertegenwoordigt.
Constructors
Alterations(Qn |
Maak een wijziging. |
Methoden
Constructordetails
Alterations(QnAMakerClientContext)
Maak een wijziging.
new Alterations(client: QnAMakerClientContext)
Parameters
- client
- QnAMakerClientContext
Verwijzing naar de serviceclient.
Methodedetails
get(RequestOptionsBase)
function get(options?: RequestOptionsBase): Promise<AlterationsGetResponse>
Parameters
- options
- RequestOptionsBase
De optionele parameters
Retouren
Promise<AlterationsGetResponse>
Promise<Models.AlterationsGetResponse>
get(RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)
function get(options: RequestOptionsBase, callback: ServiceCallback<WordAlterationsDTO>)
Parameters
- options
- RequestOptionsBase
De optionele parameters
- callback
De callback
get(ServiceCallback<WordAlterationsDTO>)
function get(callback: ServiceCallback<WordAlterationsDTO>)
Parameters
- callback
De callback
getAlterationsForKb(string, RequestOptionsBase)
function getAlterationsForKb(kbId: string, options?: RequestOptionsBase): Promise<AlterationsGetAlterationsForKbResponse>
Parameters
- kbId
-
string
KnowledgeBase-id.
- options
- RequestOptionsBase
De optionele parameters
Retouren
Promise<Models.AlterationsGetAlterationsForKbResponse>
getAlterationsForKb(string, RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)
function getAlterationsForKb(kbId: string, options: RequestOptionsBase, callback: ServiceCallback<WordAlterationsDTO>)
Parameters
- kbId
-
string
KnowledgeBase-id.
- options
- RequestOptionsBase
De optionele parameters
- callback
De callback
getAlterationsForKb(string, ServiceCallback<WordAlterationsDTO>)
function getAlterationsForKb(kbId: string, callback: ServiceCallback<WordAlterationsDTO>)
Parameters
- kbId
-
string
KnowledgeBase-id.
- callback
De callback
replace(WordAlterationsDTO, RequestOptionsBase)
function replace(wordAlterations: WordAlterationsDTO, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- wordAlterations
- WordAlterationsDTO
Gegevens over nieuwe wijzigingen.
- options
- RequestOptionsBase
De optionele parameters
Retouren
Promise<RestResponse>
Promise<msRest.RestResponse>
replace(WordAlterationsDTO, RequestOptionsBase, ServiceCallback<void>)
function replace(wordAlterations: WordAlterationsDTO, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- wordAlterations
- WordAlterationsDTO
Gegevens over nieuwe wijzigingen.
- options
- RequestOptionsBase
De optionele parameters
- callback
-
ServiceCallback<void>
De callback
replace(WordAlterationsDTO, ServiceCallback<void>)
function replace(wordAlterations: WordAlterationsDTO, callback: ServiceCallback<void>)
Parameters
- wordAlterations
- WordAlterationsDTO
Gegevens over nieuwe wijzigingen.
- callback
-
ServiceCallback<void>
De callback
replaceAlterationsForKb(string, WordAlterationsDTO, RequestOptionsBase)
function replaceAlterationsForKb(kbId: string, wordAlterations: WordAlterationsDTO, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- kbId
-
string
KnowledgeBase-id.
- wordAlterations
- WordAlterationsDTO
Gegevens over nieuwe wijzigingen.
- options
- RequestOptionsBase
De optionele parameters
Retouren
Promise<RestResponse>
Promise<msRest.RestResponse>
replaceAlterationsForKb(string, WordAlterationsDTO, RequestOptionsBase, ServiceCallback<void>)
function replaceAlterationsForKb(kbId: string, wordAlterations: WordAlterationsDTO, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- kbId
-
string
KnowledgeBase-id.
- wordAlterations
- WordAlterationsDTO
Gegevens over nieuwe wijzigingen.
- options
- RequestOptionsBase
De optionele parameters
- callback
-
ServiceCallback<void>
De callback
replaceAlterationsForKb(string, WordAlterationsDTO, ServiceCallback<void>)
function replaceAlterationsForKb(kbId: string, wordAlterations: WordAlterationsDTO, callback: ServiceCallback<void>)
Parameters
- kbId
-
string
KnowledgeBase-id.
- wordAlterations
- WordAlterationsDTO
Gegevens over nieuwe wijzigingen.
- callback
-
ServiceCallback<void>
De callback