API Reference > imodeljs-common > iModels > IModelVersion 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 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 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 core/common/src/IModelVersion.ts Line 16 Last Updated: 13 June, 2024