lib/purecloud/models/campaign_rule_condition.rb in purecloud-0.69.1 vs lib/purecloud/models/campaign_rule_condition.rb in purecloud-0.70.1

- old
+ new

@@ -39,11 +39,11 @@ # Attribute type mapping. def self.swagger_types { :'id' => :'String', - :'parameters' => :'Hash<String, String>', + :'parameters' => :'CampaignRuleParameters', :'condition_type' => :'String' } end @@ -57,12 +57,10 @@ if attributes[:'id'] self.id = attributes[:'id'] end if attributes[:'parameters'] - if (value = attributes[:'parameters']).is_a?(Array) - self.parameters = value - end + self.parameters = attributes[:'parameters'] end if attributes[:'conditionType'] self.condition_type = attributes[:'conditionType'] end