Alterations class
代表改變的類別。
建構函式
Alterations(Qn |
建立改變。 |
方法
建構函式詳細資料
Alterations(QnAMakerClientContext)
方法詳細資料
get(RequestOptionsBase)
function get(options?: RequestOptionsBase): Promise<AlterationsGetResponse>
參數
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<AlterationsGetResponse>
Promise < Models.AlterationsGetResponse>
get(RequestOptionsBase, ServiceCallback<WordAlterationsDTO>)
function get(options: RequestOptionsBase, callback: ServiceCallback<WordAlterationsDTO>)
參數
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
get(ServiceCallback<WordAlterationsDTO>)
function get(callback: ServiceCallback<WordAlterationsDTO>)
參數
- callback
回呼
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
選擇性參數
- callback
回呼
getAlterationsForKb(string, ServiceCallback<WordAlterationsDTO>)
function getAlterationsForKb(kbId: string, callback: ServiceCallback<WordAlterationsDTO>)
參數
- kbId
-
string
知識庫識別碼。
- callback
回呼
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>
回呼