createPersonaCategory

On this page
Back to index

Summary

Creates a new personaCategory object. Specify the name of the new page with personaCategoryName.
personaCategoryName
Stringrequired
The persona category name.
afterCategory
Stringoptional
If specified, the category will be placed after the named category.
beforeCategory
Stringoptional
If specified, the category will be placed before the named category.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
enabled
Booleanoptional
Whether to enable the PersonaCategory.
personaPages
Array<Unknown>optional
A list of pages in a persona category.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createPersonaCategory( personaCategoryName: "test-personaCategoryName" /* optional arguments */ )