GetCoreNetworkPolicyDocumentAttachmentPolicy

data class GetCoreNetworkPolicyDocumentAttachmentPolicy(val action: GetCoreNetworkPolicyDocumentAttachmentPolicyAction, val conditionLogic: String? = null, val conditions: List<GetCoreNetworkPolicyDocumentAttachmentPolicyCondition>, val description: String? = null, val ruleNumber: Int) : ConvertibleToJava<GetCoreNetworkPolicyDocumentAttachmentPolicy>

Constructors

constructor(action: GetCoreNetworkPolicyDocumentAttachmentPolicyAction, conditionLogic: String? = null, conditions: List<GetCoreNetworkPolicyDocumentAttachmentPolicyCondition>, description: String? = null, ruleNumber: Int)

Properties

Link copied to clipboard

Action to take when a condition is true. Detailed Below.

Link copied to clipboard
val conditionLogic: String? = null

Valid values include and or or. This is a mandatory parameter only if you have more than one condition. The condition_logic apply to all of the conditions for a rule, which also means nested conditions of and or or are not supported. Use or if you want to associate the attachment with the segment by either the segment name or attachment tag value, or by the chosen conditions. Use and if you want to associate the attachment with the segment by either the segment name or attachment tag value and by the chosen conditions. Detailed Below.

Link copied to clipboard
Link copied to clipboard
val description: String? = null

A user-defined description that further helps identify the rule.

Link copied to clipboard

An integer from 1 to 65535 indicating the rule's order number. Rules are processed in order from the lowest numbered rule to the highest. Rules stop processing when a rule is matched. It's important to make sure that you number your rules in the exact order that you want them processed.

Functions

Link copied to clipboard
open override fun toJava(): GetCoreNetworkPolicyDocumentAttachmentPolicy