ListManagementTermLists class
Class representing a ListManagementTermLists.
Constructors
List |
Create a ListManagementTermLists. |
Methods
Constructor Details
ListManagementTermLists(ContentModeratorClientContext)
Create a ListManagementTermLists.
new ListManagementTermLists(client: ContentModeratorClientContext)
Parameters
Reference to the service client.
Method Details
create(string, Body, RequestOptionsBase)
Creates a Term List
function create(contentType: string, body: Body, options?: RequestOptionsBase): Promise<ListManagementTermListsCreateResponse>
Parameters
- contentType
-
string
The content type.
- body
- Body
Schema of the body.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ListManagementTermListsCreateResponse>
create(string, Body, RequestOptionsBase, ServiceCallback<TermList>)
function create(contentType: string, body: Body, options: RequestOptionsBase, callback: ServiceCallback<TermList>)
Parameters
- contentType
-
string
The content type.
- body
- Body
Schema of the body.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
create(string, Body, ServiceCallback<TermList>)
function create(contentType: string, body: Body, callback: ServiceCallback<TermList>)
Parameters
- contentType
-
string
The content type.
- body
- Body
Schema of the body.
- callback
The callback
deleteMethod(string, RequestOptionsBase)
Deletes term list with the list Id equal to list Id passed.
function deleteMethod(listId: string, options?: RequestOptionsBase): Promise<ListManagementTermListsDeleteMethodResponse>
Parameters
- listId
-
string
List Id of the image list.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ListManagementTermListsDeleteMethodResponse>
deleteMethod(string, RequestOptionsBase, ServiceCallback<string>)
function deleteMethod(listId: string, options: RequestOptionsBase, callback: ServiceCallback<string>)
Parameters
- listId
-
string
List Id of the image list.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<string>
The callback
deleteMethod(string, ServiceCallback<string>)
function deleteMethod(listId: string, callback: ServiceCallback<string>)
Parameters
- listId
-
string
List Id of the image list.
- callback
-
ServiceCallback<string>
The callback
getAllTermLists(RequestOptionsBase)
gets all the Term Lists
function getAllTermLists(options?: RequestOptionsBase): Promise<ListManagementTermListsGetAllTermListsResponse>
Parameters
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ListManagementTermListsGetAllTermListsResponse>
getAllTermLists(RequestOptionsBase, ServiceCallback<TermList[]>)
function getAllTermLists(options: RequestOptionsBase, callback: ServiceCallback<TermList[]>)
Parameters
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
getAllTermLists(ServiceCallback<TermList[]>)
function getAllTermLists(callback: ServiceCallback<TermList[]>)
Parameters
- callback
The callback
getDetails(string, RequestOptionsBase)
Returns list Id details of the term list with list Id equal to list Id passed.
function getDetails(listId: string, options?: RequestOptionsBase): Promise<ListManagementTermListsGetDetailsResponse>
Parameters
- listId
-
string
List Id of the image list.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ListManagementTermListsGetDetailsResponse>
getDetails(string, RequestOptionsBase, ServiceCallback<TermList>)
function getDetails(listId: string, options: RequestOptionsBase, callback: ServiceCallback<TermList>)
Parameters
- listId
-
string
List Id of the image list.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
getDetails(string, ServiceCallback<TermList>)
function getDetails(listId: string, callback: ServiceCallback<TermList>)
Parameters
- listId
-
string
List Id of the image list.
- callback
The callback
refreshIndexMethod(string, string, RequestOptionsBase)
Refreshes the index of the list with list Id equal to list ID passed.
function refreshIndexMethod(listId: string, language: string, options?: RequestOptionsBase): Promise<ListManagementTermListsRefreshIndexMethodResponse>
Parameters
- listId
-
string
List Id of the image list.
- language
-
string
Language of the terms.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ListManagementTermListsRefreshIndexMethodResponse>
refreshIndexMethod(string, string, RequestOptionsBase, ServiceCallback<RefreshIndex>)
function refreshIndexMethod(listId: string, language: string, options: RequestOptionsBase, callback: ServiceCallback<RefreshIndex>)
Parameters
- listId
-
string
List Id of the image list.
- language
-
string
Language of the terms.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
refreshIndexMethod(string, string, ServiceCallback<RefreshIndex>)
function refreshIndexMethod(listId: string, language: string, callback: ServiceCallback<RefreshIndex>)
Parameters
- listId
-
string
List Id of the image list.
- language
-
string
Language of the terms.
- callback
The callback
update(string, string, Body, RequestOptionsBase)
Updates an Term List.
function update(listId: string, contentType: string, body: Body, options?: RequestOptionsBase): Promise<ListManagementTermListsUpdateResponse>
Parameters
- listId
-
string
List Id of the image list.
- contentType
-
string
The content type.
- body
- Body
Schema of the body.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ListManagementTermListsUpdateResponse>
update(string, string, Body, RequestOptionsBase, ServiceCallback<TermList>)
function update(listId: string, contentType: string, body: Body, options: RequestOptionsBase, callback: ServiceCallback<TermList>)
Parameters
- listId
-
string
List Id of the image list.
- contentType
-
string
The content type.
- body
- Body
Schema of the body.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
update(string, string, Body, ServiceCallback<TermList>)
function update(listId: string, contentType: string, body: Body, callback: ServiceCallback<TermList>)
Parameters
- listId
-
string
List Id of the image list.
- contentType
-
string
The content type.
- body
- Body
Schema of the body.
- callback
The callback