createSearchFilter

On this page
Back to index

Summary

Creates a new custom filter for the currently logged in user.
objectType
Stringrequired
Object type.
displayName
Stringrequired
Search filter name.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
searchQuery
Stringoptional
Search filter query CLOB.
shared
Booleanoptional
Flag 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 */ )