createReportObjectAssociation
Creates a new report object association.
Arguments
Argument Name | Type | Description |
---|---|---|
reportObjectTypeName |
String |
Report object type for which this association is defined. The association is owned by the specified report object type. (Required) |
associatedType |
String |
The name of the associated type. (Required) |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
required |
Boolean |
Whether the association between the report object type and associated type is always present. |
sourceFields |
String |
Comma-separated list of fields in the report object type that should match the fields in the target or associated object type in order to establish a correlation between the two types. |
targetFields |
String |
Comma-separated list of fields in the associated object type that should match the fields in the source report object type in order to establish a correlation between the two types. |
Usage
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createReportObjectAssociation( reportObjectTypeName: 'test-reportObjectTypeName', associatedType: 'test-associatedType' /* optional arguments */)
deleteReportObjectAssociation
Deletes a report object association.
getReportObjectAssociation
Retrieves a report object association by associated type.
getReportObjectAssociations
modifyReportObjectAssociation
Modifies a report object association.
Arguments
Argument Name | Type | Description |
---|---|---|
reportObjectTypeName |
String |
Report object type for which this association is defined. The association is owned by the specified report object type. (Required) |
associatedType |
String |
The name of the associated type. (Required) |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees CD/RO. |
required |
Boolean |
Whether the association between the report object type and associated type is always present. |
sourceFields |
String |
Comma-separated list of fields in the report object type that should match the fields in the target or associated object type in order to establish a correlation between the two types. |
targetFields |
String |
Comma-separated list of fields in the associated object type that should match the fields in the source report object type in order to establish a correlation between the two types. |
Usage
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyReportObjectAssociation( reportObjectTypeName: 'test-reportObjectTypeName', associatedType: 'test-associatedType' /* optional arguments */)