IModelClient Class

Base class that allows access to different iModel related Class handlers. Handlers should be accessed through an instance of this class, rather than constructed directly.

Extended by

Methods

Name Description
constructor(baseHandler: IModelBaseHandler, fileHandler?: FileHandler, applicationVersion?: string): IModelClient Creates an instance of IModelClient.  
setFileHandler(fileHandler: FileHandler): void Sets file handler for file upload/download.  
use(transformer: HttpRequestOptionsTransformer): void Adds a method that will be called for every request to modify HttpRequestOptions. Beta  

Properties

Name Type Description
_handler Protected IModelBaseHandler    
changeSets Accessor ReadOnly ChangeSetHandler Get the handler for ChangeSets.  
events Accessor ReadOnly EventHandler Get the handler for IModelHubEvents.  
fileHandler Accessor ReadOnly undefined | FileHandler Gets file handler for file upload/download.  
iModel Accessor ReadOnly IModelHandler Get the handler for HubIModel.  
iModels Accessor ReadOnly IModelsHandler Get the handler for HubIModel instances.  
thumbnails Accessor ReadOnly ThumbnailHandler Get the handler for Thumbnails.  
users Accessor ReadOnly UserInfoHandler Get the handler for UserInfo.  
versions Accessor ReadOnly VersionHandler Get the handler for Versions.  

Defined in

Last Updated: 12 June, 2024