IModelVersion Class
Option to specify the version of the iModel to be acquired and used
Methods
Name | Description | |
---|---|---|
evaluateChangeSet(requestContext: AuthorizedClientRequestContext, iModelId: GuidString, imodelClient: IModelClient): Promise<GuidString> | Evaluate the ChangeSet Id corresponding to the version. | |
getAsOfChangeSet(): GuidString | undefined | Returns the last change set id to be applied to the iModel to get to this specified version. |
|
getName(): string | undefined | Returns the name of the version if this describes a named version. | |
asOfChangeSet(changeSetId: GuidString): IModelVersion Static | Describes a version of the iModel by the last change set that needs to be applied or merged to the iModel. |
|
first(): IModelVersion Static | Describes the first version of the iModel | |
fromJson(jsonObj: any): IModelVersion Static | Creates a version from an untyped JSON object | |
latest(): IModelVersion Static | Describes the latest version of the iModel | |
named(versionName: string): IModelVersion Static | Describes a version of the iModel with the specified version name |
Properties
Name | Type | Description | |
---|---|---|---|
isFirst Accessor ReadOnly | boolean | Returns true if this describes the first version | |
isLatest Accessor ReadOnly | boolean | Returns true if this describes the latest version |
Defined in
Last Updated: 08 January, 2020