lib/purecloudplatformclientv2/models/event_log.rb in purecloudplatformclientv2-14.1.0 vs lib/purecloudplatformclientv2/models/event_log.rb in purecloudplatformclientv2-15.0.0

- old
+ new

@@ -238,11 +238,11 @@ - allowed_values = ["CAMPAIGN", "CAMPAIGN_RULE", "IMPORT_ERROR", "CALLBACK", "CONTACT_LIST_FILTER", "SCHEDULE", "CALL_RESTRICTION", "CALL_RULE", "ORGANIZATION_CONFIGURATION"] + allowed_values = ["CALLBACK", "CALL_RESTRICTION", "CALL_RULE", "CAMPAIGN", "CAMPAIGN_RULE", "CONTACT_LIST_FILTER", "ENTITY_LIMIT", "IMPORT_ERROR", "ORGANIZATION_CONFIGURATION", "SCHEDULE"] if @category && !allowed_values.include?(@category) return false end @@ -303,10 +303,10 @@ # Custom attribute writer method checking allowed values (enum). # @param [Object] category Object to be assigned def category=(category) - allowed_values = ["CAMPAIGN", "CAMPAIGN_RULE", "IMPORT_ERROR", "CALLBACK", "CONTACT_LIST_FILTER", "SCHEDULE", "CALL_RESTRICTION", "CALL_RULE", "ORGANIZATION_CONFIGURATION"] + allowed_values = ["CALLBACK", "CALL_RESTRICTION", "CALL_RULE", "CAMPAIGN", "CAMPAIGN_RULE", "CONTACT_LIST_FILTER", "ENTITY_LIMIT", "IMPORT_ERROR", "ORGANIZATION_CONFIGURATION", "SCHEDULE"] if category && !allowed_values.include?(category) fail ArgumentError, "invalid value for 'category', must be one of #{allowed_values}." end @category = category end