VersionHandler Class

Beta

Handler for managing Versions. Use IModelClient.Versions to get an instance of this class.

Methods

Name Description
create(requestContext: AuthorizedClientRequestContext, iModelId: GuidString, changeSetId: string, name: string, description?: string): Promise<Version> Create a named Version of an iModel.  
get(requestContext: AuthorizedClientRequestContext, iModelId: GuidString, query: VersionQuery = new VersionQuery()): Promise<Version[]> Get the named Versions of an iModel.  
update(requestContext: AuthorizedClientRequestContext, iModelId: GuidString, version: Version): Promise<Version> Update the named Version of an iModel.  

Defined in

Last Updated: 08 January, 2020