ModelAccess

class ModelAccess
Add(modelKey)

Adds a model

Parameters:
modelKey : str

Name of the model to add

Returns:

The model which was added

Return type:

Model

Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

ModelAccess

Delete(modelKey)

Deletes a model from model access.

Parameters:
modelKey : str

Name of model to delete

Get(modelKey)

Retrieves a model object.

Parameters:
modelKey : str

Name of the model

Returns:

The model object

Return type:

Model

GetAll()

Returns a list of the names of all the accessed models.

Returns:

list of names of all accesses models

Return type:

list[str]