list_model_contents.Rd
Returns a list of models from Model Manager
list_model_contents(session, model, start = 0, limit = 20, exact = FALSE, ...)
viya_connection object, obtained through session
function
MMmodel
or MMmodelVersion
object, model ID or model name. If name, will try to find a single model with exact name match. See exact
parameter
the index of the first content to return
maximum number of models to return
boolean, If the filter query should use "contains" for partial match or "eq" for exact match
additional parameters to be passed to httr::GET
such as httr::add_headers
A MMmodelContentList
list with the list of contents
if (FALSE) { # \dontrun{
models <- list_models(sess, filter = list(createdBy = "creatorUser", name = "modelName"))
models
} # }