HubIModel Class


HubIModel represents an iModel on iModelHub. Getting a valid HubIModel instance from iModelHub is required for majority of iModelHub method calls, as wsgId of this object needs to be passed as iModelId argument to those methods.

For iModel representation in iModel.js, see IModel. For the file that is used for that iModel, see IModelDb.



Name Type Description
createdDate undefined | string Date when iModel was created.  
description undefined | string Description of the iModel.  
extent undefined | number[] Extent of iModel.  
id undefined | GuidString Id of the iModel.  
initialized undefined | false | true Set to true, when iModel is ready to be used.  
name undefined | string Name of the iModel.  
userCreated undefined | string Id of the user that created the iModel.  

Inherited properties

Name Type Inherited from Description
changeState undefined | ChangeState WsgInstance  
ecId string ECInstance  
eTag undefined | string WsgInstance  
wsgId string WsgInstance  

Defined in

Last Updated: 08 January, 2020