Skip to main content

# SelectorBase

Basic interface which all selectors have in common.

    interface SelectorBase {
      id: ID!
      name: String
      type: SelectorObjectType!
      description: String
      shared: Boolean!
      customer: Customer
      criteria: [SelectorCriterion!]!
      raw: RawSelectorData!
      timestamp: DateTime
    }

### Fields​

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

The unique ID for the selector.

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

The name of the selector.

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

The targeted type of this selector.

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

A meaningful description for this selector.

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

Flag to tell whether this selector is shared/public or not/ad-hoc.

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

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

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

The list of criteria used for this selector.

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

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

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

When was this selector modified for the last time.

### Implemented By​

`CheckSelector` object ● `SystemSelector` object