ListManagementTermLists class
代表 ListManagementTermLists 的類別。
建構函式
| List |
建立 ListManagementTermLists。 |
方法
建構函式詳細資料
ListManagementTermLists(ContentModeratorClientContext)
建立 ListManagementTermLists。
new ListManagementTermLists(client: ContentModeratorClientContext)
參數
服務客戶端的參考。
方法詳細資料
create(string, Body, RequestOptionsBase)
建立字詞清單
function create(contentType: string, body: Body, options?: RequestOptionsBase): Promise<ListManagementTermListsCreateResponse>
參數
- contentType
-
string
內容類型。
- body
- Body
本文的架構。
- options
- RequestOptionsBase
選擇性參數
傳回
承諾<Models.ListManagementTermListsCreateResponse>
create(string, Body, RequestOptionsBase, ServiceCallback<TermList>)
function create(contentType: string, body: Body, options: RequestOptionsBase, callback: ServiceCallback<TermList>)
參數
- contentType
-
string
內容類型。
- body
- Body
本文的架構。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
create(string, Body, ServiceCallback<TermList>)
function create(contentType: string, body: Body, callback: ServiceCallback<TermList>)
參數
- contentType
-
string
內容類型。
- body
- Body
本文的架構。
- callback
回呼
deleteMethod(string, RequestOptionsBase)
刪除清單識別碼等於所傳遞清單標識碼的字詞清單。
function deleteMethod(listId: string, options?: RequestOptionsBase): Promise<ListManagementTermListsDeleteMethodResponse>
參數
- listId
-
string
影像清單的清單標識碼。
- options
- RequestOptionsBase
選擇性參數
傳回
承諾<Models.ListManagementTermListsDeleteMethodResponse>
deleteMethod(string, RequestOptionsBase, ServiceCallback<string>)
function deleteMethod(listId: string, options: RequestOptionsBase, callback: ServiceCallback<string>)
參數
- listId
-
string
影像清單的清單標識碼。
- options
- RequestOptionsBase
選擇性參數
- callback
-
ServiceCallback<string>
回呼
deleteMethod(string, ServiceCallback<string>)
function deleteMethod(listId: string, callback: ServiceCallback<string>)
參數
- listId
-
string
影像清單的清單標識碼。
- callback
-
ServiceCallback<string>
回呼
getAllTermLists(RequestOptionsBase)
取得所有字詞清單
function getAllTermLists(options?: RequestOptionsBase): Promise<ListManagementTermListsGetAllTermListsResponse>
參數
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<Models.ListManagementTermListsGetAllTermLists回應>
getAllTermLists(RequestOptionsBase, ServiceCallback<TermList[]>)
function getAllTermLists(options: RequestOptionsBase, callback: ServiceCallback<TermList[]>)
參數
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
getAllTermLists(ServiceCallback<TermList[]>)
function getAllTermLists(callback: ServiceCallback<TermList[]>)
參數
- callback
回呼
getDetails(string, RequestOptionsBase)
傳回字詞清單的清單標識碼詳細數據,清單標識碼等於已傳遞的清單標識碼。
function getDetails(listId: string, options?: RequestOptionsBase): Promise<ListManagementTermListsGetDetailsResponse>
參數
- listId
-
string
影像清單的清單標識碼。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<Models.ListManagementTermListsGetDetailsResponse>
getDetails(string, RequestOptionsBase, ServiceCallback<TermList>)
function getDetails(listId: string, options: RequestOptionsBase, callback: ServiceCallback<TermList>)
參數
- listId
-
string
影像清單的清單標識碼。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
getDetails(string, ServiceCallback<TermList>)
function getDetails(listId: string, callback: ServiceCallback<TermList>)
參數
- listId
-
string
影像清單的清單標識碼。
- callback
回呼
refreshIndexMethod(string, string, RequestOptionsBase)
重新整理清單識別碼等於所傳遞清單標識碼的清單索引。
function refreshIndexMethod(listId: string, language: string, options?: RequestOptionsBase): Promise<ListManagementTermListsRefreshIndexMethodResponse>
參數
- listId
-
string
影像清單的清單標識碼。
- language
-
string
字詞的語言。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<Models.ListManagementTermListsRefreshIndexMethodResponse>
refreshIndexMethod(string, string, RequestOptionsBase, ServiceCallback<RefreshIndex>)
function refreshIndexMethod(listId: string, language: string, options: RequestOptionsBase, callback: ServiceCallback<RefreshIndex>)
參數
- listId
-
string
影像清單的清單標識碼。
- language
-
string
字詞的語言。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
refreshIndexMethod(string, string, ServiceCallback<RefreshIndex>)
function refreshIndexMethod(listId: string, language: string, callback: ServiceCallback<RefreshIndex>)
參數
- listId
-
string
影像清單的清單標識碼。
- language
-
string
字詞的語言。
- callback
回呼
update(string, string, Body, RequestOptionsBase)
更新字詞清單。
function update(listId: string, contentType: string, body: Body, options?: RequestOptionsBase): Promise<ListManagementTermListsUpdateResponse>
參數
- listId
-
string
影像清單的清單標識碼。
- contentType
-
string
內容類型。
- body
- Body
本文的架構。
- options
- RequestOptionsBase
選擇性參數
傳回
承諾<Models.ListManagementTermListsUpdateResponse>
update(string, string, Body, RequestOptionsBase, ServiceCallback<TermList>)
function update(listId: string, contentType: string, body: Body, options: RequestOptionsBase, callback: ServiceCallback<TermList>)
參數
- listId
-
string
影像清單的清單標識碼。
- contentType
-
string
內容類型。
- body
- Body
本文的架構。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
update(string, string, Body, ServiceCallback<TermList>)
function update(listId: string, contentType: string, body: Body, callback: ServiceCallback<TermList>)
參數
- listId
-
string
影像清單的清單標識碼。
- contentType
-
string
內容類型。
- body
- Body
本文的架構。
- callback
回呼