IModelHandler Class

Beta  

Handler for managing HubIModel instance. Use IModelHubClient.IModel to get an instance of this handler.

note Use IModelHubClient.IModels if multiple iModels per context are supported.

Methods

Name Description
delete(requestContext: AuthorizedClientRequestContext, contextId: string): Promise<void> Delete an iModel from a context.  
get(requestContext: AuthorizedClientRequestContext, contextId: string): Promise<HubIModel> Get iModel that belong to the specified context.  
update(requestContext: AuthorizedClientRequestContext, contextId: string, imodel: HubIModel): Promise<HubIModel> Update iModel's name and/or description  

Defined in

Last Updated: 12 June, 2024