getSearchFilter

On this page
Back to index

Summary

Retrieves a search filter by name.
For a list of object types in CloudBees CD/RO, refer to Object types in CloudBees CD/RO.
objectType
Stringrequired
Object type.
displayName
Stringrequired
Search filter name.
userName
Stringoptional
Search filter user name.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getSearchFilter( objectType: "test-objectType", displayName: "test-displayName" /* optional arguments */ )