ace.centralize.graphql.selections.alert

Predefined SelectionSets for Alert entity.

Based on the Alert GraphQL schema output types:

AlertDetail, AlertAffectedEntity, CreateAlertsOutput, AddEntitiesToAlertOutput, DeleteAlertsOutput, RemoveAffectedEntitiesOutput

class ace.centralize.graphql.selections.alert.AlertAffectedEntitySelections[source]

Bases: object

Reusable selection sets for AlertAffectedEntity fields.

STANDARD = SelectionSet(fields=['entityTypeId', 'entityTypeName', 'ids'], nested=[])
class ace.centralize.graphql.selections.alert.AlertSelections[source]

Bases: object

Reusable selection sets for Alert fields.

MINIMAL = SelectionSet(fields=['alertId'], nested=[])
STANDARD = SelectionSet(fields=['alertId', 'alertTypeId', 'entityId', 'entityTypeId', 'entityTypeName'], nested=[])
FULL = SelectionSet(fields=['alertId', 'alertTypeId', 'entityId', 'entityTypeId', 'entityTypeName'], nested=['alertAffectedEntities'])
WITH_AFFECTED_ENTITIES = SelectionSet(fields=['alertId', 'alertTypeId', 'entityId', 'entityTypeId', 'entityTypeName'], nested=['alertAffectedEntities'])