Skip to main content

# CheckSelector

A check selector is used to select checks for a specific system or a set of systems with additional criteria.

    type CheckSelector implements SelectorBase {
      id: ID!
      name: String
      type: SelectorObjectType!
      description: String
      shared: Boolean!
      customer: Customer
      criteria: [SelectorCriterion!]!
      raw: RawSelectorData!
      timestamp: DateTime
      pagedChecks(
        pageRequest: PageRequest!
        where: FilterInput
        order: OrderInput
      ): CheckPage
      systemSelector: SystemSelector
      systemSelectorAssignment: SystemSelectorAssignmentDetails
    }

### Fields​

#### `CheckSelector.id` ● `ID!` non-null scalar​

The ID of the check selector. This is a unique identifier for the selector.

#### `CheckSelector.name` ● `String` scalar​

The name of the check selector. This is a human readable name for the selector.

#### `CheckSelector.type` ● `SelectorObjectType!` non-null enum​

The type of the check selector. This is the type of the systems for which the selector is valid.

#### `CheckSelector.description` ● `String` scalar​

A description for the check selector. This is a human readable description of the selector.

#### `CheckSelector.shared` ● `Boolean!` non-null scalar​

A flag indicating whether this check selector is shared or not. true: shared, false: not shared/ad-hoc

#### `CheckSelector.customer` ● `Customer` object​

The associated customer. If shared is false (=ad-hoc) then the customer will always be null. If this is a public check selector the customer can be null as well but then it is a check selector visible to everyone.

#### `CheckSelector.criteria` ● `[SelectorCriterion!]!` non-null object​

The list of criteria used for this check selector.

#### `CheckSelector.raw` ● `RawSelectorData!` non-null object​

This fields holds some raw data like the XML data of the selector.

#### `CheckSelector.timestamp` ● `DateTime` scalar​

When was this selector modified for the last time.

#### `CheckSelector.pagedChecks` ● `CheckPage` object​

The paged variant of the checks query

##### `CheckSelector.pagedChecks.pageRequest` ● `PageRequest!` non-null input​

##### `CheckSelector.pagedChecks.where` ● `FilterInput` input​

##### `CheckSelector.pagedChecks.order` ● `OrderInput` input​

#### `CheckSelector.systemSelector` ● `SystemSelector` object​

System selector used to filter the checks. If this is not set then all checks will be considered.

#### `CheckSelector.systemSelectorAssignment` ● `SystemSelectorAssignmentDetails` object​

The details of the system selector assigned to this check selector. If no system selector is assigned checks of all systems are returned

### Interfaces​

#### `SelectorBase` interface​

Basic interface which all selectors have in common.

### Returned By​

`checkSelector` query ● `checkSelectorFromXml` query ● `checkSelectors` query

### Member Of​

`CreateCheckSelectorPayload` object ● `UpdateCheckSelectorPayload` object