lib/purecloudplatformclientv2/models/event_log.rb in purecloudplatformclientv2-7.0.0 vs lib/purecloudplatformclientv2/models/event_log.rb in purecloudplatformclientv2-8.0.0

- old
+ new

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