//
// CampaignRuleCondition.swift
//
// Generated by swagger-codegen
// https://github.com/swagger-api/swagger-codegen
//

import Foundation



public class CampaignRuleCondition: Codable {

    public enum ConditionType: String, Codable { 
        case campaignprogress = "campaignProgress"
        case campaignagents = "campaignAgents"
    }
    public var _id: String?
    /** The parameters for the CampaignRuleCondition. */
    public var parameters: CampaignRuleParameters?
    /** The type of condition to evaluate. */
    public var conditionType: ConditionType?

    public init(_id: String?, parameters: CampaignRuleParameters?, conditionType: ConditionType?) {
        
        self._id = _id
        
        self.parameters = parameters
        
        self.conditionType = conditionType
        
    }

    public enum CodingKeys: String, CodingKey { 
        case _id = "id"
        case parameters
        case conditionType
    }


}

