Skip to main content

PreferenceRuleData

The PreferenceRuleData type represents the data of a PreferenceRule.

type PreferenceRuleData {
groupCode: ID!
context: String!
id: ID!
priority: Int!
tag: String!
criteria: PreferenceRuleCriteria!
value: PreferenceRuleValue!
}

Fields

PreferenceRuleData.groupCode ● ID! non-null scalar

Group code where the rule will apply.

PreferenceRuleData.context ● String! non-null scalar

Context where the rule will apply.

PreferenceRuleData.id ● ID! non-null scalar

Unique identifier of the rule.

PreferenceRuleData.priority ● Int! non-null scalar

PreferenceRuleData.tag ● String! non-null scalar

It is used to identify the rule with a frendly name.

PreferenceRuleData.criteria ● PreferenceRuleCriteria! non-null object

It is used to define the conditions that the rule will be applied to.

PreferenceRuleData.value ● PreferenceRuleValue! non-null object

It is used to define the codes that will be preference or whitelisted.

Member Of

PreferenceRule object