Back to index
Summary
Retrieves the count of objects specified by the provided filter.objectTypeStringrequiredThe type of object to query for. filtersArray<Filter>optionalA list of zero or more filter criteria definitions used to define objects to find. firstResultIntegeroptionalThe first result to be retrieved, numbered from 0. maxIdsIntegeroptionalThe maximum number of object IDs to return. viewNameStringoptionalThe name of the view. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.countObjects( objectType: "test-objectType" /* optional arguments */ )