Skip to main content

BlacklistRuleValueCodesInput

The input type for the codes of a BlacklistRuleValue.

input BlacklistRuleValueCodesInput {
countryCodes: [Country!]
hotelCodes: [String!]
context: String
allContexts: Boolean
allCodes: Boolean
}

Fields

BlacklistRuleValueCodesInput.countryCodes ● [Country!] list scalar

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

BlacklistRuleValueCodesInput.hotelCodes ● [String!] list scalar

The hotel codes to be used on the rule.

BlacklistRuleValueCodesInput.context ● String scalar

The context to be used on the rule.

BlacklistRuleValueCodesInput.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.

BlacklistRuleValueCodesInput.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.

Member Of

BlacklistRuleValueInput input