ListManagementImageLists class
Class representing a ListManagementImageLists.
Constructors
List |
Create a ListManagementImageLists. |
Methods
Constructor Details
ListManagementImageLists(ContentModeratorClientContext)
Create a ListManagementImageLists.
new ListManagementImageLists(client: ContentModeratorClientContext)
Parameters
Reference to the service client.
Method Details
create(string, Body, RequestOptionsBase)
Creates an image list.
function create(contentType: string, body: Body, options?: RequestOptionsBase): Promise<ListManagementImageListsCreateResponse>
Parameters
- contentType
-
string
The content type.
- body
- Body
Schema of the body.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ListManagementImageListsCreateResponse>
create(string, Body, RequestOptionsBase, ServiceCallback<ImageList>)
function create(contentType: string, body: Body, options: RequestOptionsBase, callback: ServiceCallback<ImageList>)
Parameters
- contentType
-
string
The content type.
- body
- Body
Schema of the body.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
create(string, Body, ServiceCallback<ImageList>)
function create(contentType: string, body: Body, callback: ServiceCallback<ImageList>)
Parameters
- contentType
-
string
The content type.
- body
- Body
Schema of the body.
- callback
The callback
deleteMethod(string, RequestOptionsBase)
Deletes image list with the list Id equal to list Id passed.
function deleteMethod(listId: string, options?: RequestOptionsBase): Promise<ListManagementImageListsDeleteMethodResponse>
Parameters
- listId
-
string
List Id of the image list.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ListManagementImageListsDeleteMethodResponse>
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
getAllImageLists(RequestOptionsBase)
Gets all the Image Lists.
function getAllImageLists(options?: RequestOptionsBase): Promise<ListManagementImageListsGetAllImageListsResponse>
Parameters
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ListManagementImageListsGetAllImageListsResponse>
getAllImageLists(RequestOptionsBase, ServiceCallback<ImageList[]>)
function getAllImageLists(options: RequestOptionsBase, callback: ServiceCallback<ImageList[]>)
Parameters
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
getAllImageLists(ServiceCallback<ImageList[]>)
function getAllImageLists(callback: ServiceCallback<ImageList[]>)
Parameters
- callback
The callback
getDetails(string, RequestOptionsBase)
Returns the details of the image list with list Id equal to list Id passed.
function getDetails(listId: string, options?: RequestOptionsBase): Promise<ListManagementImageListsGetDetailsResponse>
Parameters
- listId
-
string
List Id of the image list.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ListManagementImageListsGetDetailsResponse>
getDetails(string, RequestOptionsBase, ServiceCallback<ImageList>)
function getDetails(listId: string, options: RequestOptionsBase, callback: ServiceCallback<ImageList>)
Parameters
- listId
-
string
List Id of the image list.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
getDetails(string, ServiceCallback<ImageList>)
function getDetails(listId: string, callback: ServiceCallback<ImageList>)
Parameters
- listId
-
string
List Id of the image list.
- callback
The callback
refreshIndexMethod(string, RequestOptionsBase)
Refreshes the index of the list with list Id equal to list Id passed.
function refreshIndexMethod(listId: string, options?: RequestOptionsBase): Promise<ListManagementImageListsRefreshIndexMethodResponse>
Parameters
- listId
-
string
List Id of the image list.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ListManagementImageListsRefreshIndexMethodResponse>
refreshIndexMethod(string, RequestOptionsBase, ServiceCallback<RefreshIndex>)
function refreshIndexMethod(listId: string, options: RequestOptionsBase, callback: ServiceCallback<RefreshIndex>)
Parameters
- listId
-
string
List Id of the image list.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
refreshIndexMethod(string, ServiceCallback<RefreshIndex>)
function refreshIndexMethod(listId: string, callback: ServiceCallback<RefreshIndex>)
Parameters
- listId
-
string
List Id of the image list.
- callback
The callback
update(string, string, Body, RequestOptionsBase)
Updates an image list with list Id equal to list Id passed.
function update(listId: string, contentType: string, body: Body, options?: RequestOptionsBase): Promise<ListManagementImageListsUpdateResponse>
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.ListManagementImageListsUpdateResponse>
update(string, string, Body, RequestOptionsBase, ServiceCallback<ImageList>)
function update(listId: string, contentType: string, body: Body, options: RequestOptionsBase, callback: ServiceCallback<ImageList>)
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<ImageList>)
function update(listId: string, contentType: string, body: Body, callback: ServiceCallback<ImageList>)
Parameters
- listId
-
string
List Id of the image list.
- contentType
-
string
The content type.
- body
- Body
Schema of the body.
- callback
The callback