共用方式為


Alterations class

代表改變的類別。

建構函式

Alterations(QnAMakerClientContext)

建立改變。

方法

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>)

建構函式詳細資料

Alterations(QnAMakerClientContext)

建立改變。

new Alterations(client: QnAMakerClientContext)

參數

client
QnAMakerClientContext

服務用戶端的參考。

方法詳細資料

get(RequestOptionsBase)

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

參數

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.AlterationsGetResponse>

get(RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)

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

參數

options
RequestOptionsBase

選擇性參數

get(ServiceCallback<WordAlterationsDTO>)

function get(callback: ServiceCallback<WordAlterationsDTO>)

參數

getAlterationsForKb(string, RequestOptionsBase)

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

參數

kbId

string

知識庫識別碼。

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.AlterationsGetAlterationsForKbResponse>

getAlterationsForKb(string, RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)

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

參數

kbId

string

知識庫識別碼。

options
RequestOptionsBase

選擇性參數

getAlterationsForKb(string, ServiceCallback<WordAlterationsDTO>)

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

參數

kbId

string

知識庫識別碼。

replace(WordAlterationsDTO, RequestOptionsBase)

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

參數

wordAlterations
WordAlterationsDTO

新的改變數據。

options
RequestOptionsBase

選擇性參數

傳回

Promise<RestResponse>

Promise < msRest.RestResponse>

replace(WordAlterationsDTO, RequestOptionsBase, ServiceCallback<void>)

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

參數

wordAlterations
WordAlterationsDTO

新的改變數據。

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<void>

回呼

replace(WordAlterationsDTO, ServiceCallback<void>)

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

參數

wordAlterations
WordAlterationsDTO

新的改變數據。

callback

ServiceCallback<void>

回呼

replaceAlterationsForKb(string, WordAlterationsDTO, RequestOptionsBase)

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

參數

kbId

string

知識庫識別碼。

wordAlterations
WordAlterationsDTO

新的改變數據。

options
RequestOptionsBase

選擇性參數

傳回

Promise<RestResponse>

Promise < msRest.RestResponse>

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

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

參數

kbId

string

知識庫識別碼。

wordAlterations
WordAlterationsDTO

新的改變數據。

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<void>

回呼

replaceAlterationsForKb(string, WordAlterationsDTO, ServiceCallback<void>)

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

參數

kbId

string

知識庫識別碼。

wordAlterations
WordAlterationsDTO

新的改變數據。

callback

ServiceCallback<void>

回呼