Alterations class
Klasse, die eine Änderung darstellt.
Alterations(Qn |
Erstellen Sie eine Änderung. |
Erstellen Sie eine Änderung.
new Alterations(client: QnAMakerClientContext)
Parameter
- client
- QnAMakerClientContext
Verweisen auf den Dienstclient.
function get(options?: RequestOptionsBase): Promise<AlterationsGetResponse>
Parameter
- options
- RequestOptionsBase
Die optionalen Parameter
Gibt zurück
Promise<AlterationsGetResponse>
Promise<Models.AlterationsGetResponse>
function get(options: RequestOptionsBase, callback: ServiceCallback<WordAlterationsDTO>)
Parameter
- options
- RequestOptionsBase
Die optionalen Parameter
- callback
Der Rückruf
function get(callback: ServiceCallback<WordAlterationsDTO>)
Parameter
- callback
Der Rückruf
function getAlterationsForKb(kbId: string, options?: RequestOptionsBase): Promise<AlterationsGetAlterationsForKbResponse>
Parameter
- kbId
-
string
Knowledgebase-ID.
- options
- RequestOptionsBase
Die optionalen Parameter
Gibt zurück
Promise<Models.AlterationsGetAlterationsForKbResponse>
function getAlterationsForKb(kbId: string, options: RequestOptionsBase, callback: ServiceCallback<WordAlterationsDTO>)
Parameter
- kbId
-
string
Knowledgebase-ID.
- options
- RequestOptionsBase
Die optionalen Parameter
- callback
Der Rückruf
function getAlterationsForKb(kbId: string, callback: ServiceCallback<WordAlterationsDTO>)
Parameter
- kbId
-
string
Knowledgebase-ID.
- callback
Der Rückruf
function replace(wordAlterations: WordAlterationsDTO, options?: RequestOptionsBase): Promise<RestResponse>
Parameter
- wordAlterations
- WordAlterationsDTO
Neue Änderungsdaten.
- options
- RequestOptionsBase
Die optionalen Parameter
Gibt zurück
Promise<RestResponse>
Zusage<msRest.RestResponse>
function replace(wordAlterations: WordAlterationsDTO, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameter
- wordAlterations
- WordAlterationsDTO
Neue Änderungsdaten.
- options
- RequestOptionsBase
Die optionalen Parameter
- callback
-
ServiceCallback<void>
Der Rückruf
function replace(wordAlterations: WordAlterationsDTO, callback: ServiceCallback<void>)
Parameter
- wordAlterations
- WordAlterationsDTO
Neue Änderungsdaten.
- callback
-
ServiceCallback<void>
Der Rückruf
function replaceAlterationsForKb(kbId: string, wordAlterations: WordAlterationsDTO, options?: RequestOptionsBase): Promise<RestResponse>
Parameter
- kbId
-
string
Knowledgebase-ID.
- wordAlterations
- WordAlterationsDTO
Neue Änderungsdaten.
- options
- RequestOptionsBase
Die optionalen Parameter
Gibt zurück
Promise<RestResponse>
Zusage<msRest.RestResponse>
function replaceAlterationsForKb(kbId: string, wordAlterations: WordAlterationsDTO, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameter
- kbId
-
string
Knowledgebase-ID.
- wordAlterations
- WordAlterationsDTO
Neue Änderungsdaten.
- options
- RequestOptionsBase
Die optionalen Parameter
- callback
-
ServiceCallback<void>
Der Rückruf
function replaceAlterationsForKb(kbId: string, wordAlterations: WordAlterationsDTO, callback: ServiceCallback<void>)
Parameter
- kbId
-
string
Knowledgebase-ID.
- wordAlterations
- WordAlterationsDTO
Neue Änderungsdaten.
- callback
-
ServiceCallback<void>
Der Rückruf