Skip to main content

BlacklistRuleValueCodes

The BlacklistRuleValueCodes type represents the codes of a BlacklistRuleValue.

type BlacklistRuleValueCodes {
countryCodes: [Country!]
hotelCodes: [String!]
context: String
allCodes: Boolean
allContexts: Boolean
}

Fields

BlacklistRuleValueCodes.countryCodes ● [Country!] list scalar

The country codes to be used on the rule. ISO 3166-1 alpha-2 format with enclosing double quotes "ES"

BlacklistRuleValueCodes.hotelCodes ● [String!] list scalar

The hotel codes to be used on the rule.

BlacklistRuleValueCodes.context ● String scalar

The context to be used on the rule.

BlacklistRuleValueCodes.allCodes ● Boolean scalar

By default allCodes is false. If allCodes is true, the hotelCodes field will be ignored and all the codes for the specified context will be used on the rule.

BlacklistRuleValueCodes.allContexts ● Boolean scalar

By default allContexts is false. If allContexts is true, the context field will be ignored and all the contexts for the specified hotelCodes will be used on the rule.

Member Of

BlacklistRuleValue object