modifySearchFilter

On this page
Back to index

Summary

Modifies an existing search filter.
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.
newName
Stringoptional
The new name for an existing object that is being renamed.
newObjectType
Stringoptional
Search filter entity type.
searchQuery
Stringoptional
Search filter query CLOB.
shared
Booleanoptional
Flag indicating whether the filter is public or private.
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.modifySearchFilter( objectType: "test-objectType", displayName: "test-displayName" /* optional arguments */ )