lib/purecloud/models/campaign_rule_action.rb in purecloud-0.69.1 vs lib/purecloud/models/campaign_rule_action.rb in purecloud-0.70.1
- old
+ new
@@ -43,11 +43,11 @@
# Attribute type mapping.
def self.swagger_types
{
:'id' => :'String',
- :'parameters' => :'Hash<String, String>',
+ :'parameters' => :'CampaignRuleParameters',
:'action_type' => :'String',
:'campaign_rule_action_entities' => :'CampaignRuleActionEntities'
}
end
@@ -62,12 +62,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[:'actionType']
self.action_type = attributes[:'actionType']
end