createReportObjectType

On this page
Back to index

Summary

Creates a new 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.
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.createReportObjectType( reportObjectTypeName: "test-reportObjectTypeName" /* optional arguments */ )