Back to index
Summary
Creates a new report object type.reportObjectTypeNameStringrequiredUnique name of the report object type. colorCodeStringoptionalThe color associated with the report object type, in hexcode format #rrggbb .descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. displayNameStringoptionalDisplay name of report object type. sourceTypeStringoptionalCategory of the third-party tool that data for the given report object type is obtained from. sourceTypeDescriptionStringoptionalDescription of the category of the third-party tool that may be displayed on the UI. storagePatternStringoptionalStorage 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 */ )