modifyReportObjectType

On this page
Back to index

Summary

Modifies a report object type.
reportObjectTypeName
Stringrequired
Unique name of the report object type.
colorCode
Stringoptional
The color associated with the report object type, in hexcode format #rrggbb.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
displayName
Stringoptional
Display name of report object type.
newName
Stringoptional
New name for an existing object that is being renamed.
sourceType
Stringoptional
Category of the third-party tool that data for the given report object type is obtained from.
sourceTypeDescription
Stringoptional
Description of the category of the third-party tool that may be displayed on the UI.
storagePattern
Stringoptional
Storage pattern for report object type.
Possible values: "NONE", "YYYY", "YYYY_MM", "YYYY_MM_dd"

Usage

Groovy

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