Back to index
Summary
Creates a new custom filter for the currently logged in user.objectTypeStringrequiredObject type. displayNameStringrequiredSearch filter name. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. searchQueryStringoptionalSearch filter query CLOB. sharedBooleanoptionalFlag indicating whether the filter is public or private. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createSearchFilter( objectType: "test-objectType", displayName: "test-displayName" /* optional arguments */ )