lib/purecloud/models/user_schedule_adherence.rb in purecloud-0.59.1 vs lib/purecloud/models/user_schedule_adherence.rb in purecloud-0.60.1
- old
+ new
@@ -182,20 +182,20 @@
end
# Custom attribute writer method checking allowed values (enum).
def scheduled_activity_category=(scheduled_activity_category)
- allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable", ""]
+ allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable"]
if scheduled_activity_category && !allowed_values.include?(scheduled_activity_category)
fail "invalid value for 'scheduled_activity_category', must be one of #{allowed_values}"
end
@scheduled_activity_category = scheduled_activity_category
end
# Custom attribute writer method checking allowed values (enum).
def system_presence=(system_presence)
- allowed_values = ["Available", "Away", "Busy", "Offline", "Idle", "OnQueue", "Meal", "Training", "Meeting", "Break", ""]
+ allowed_values = ["Available", "Away", "Busy", "Offline", "Idle", "OnQueue", "Meal", "Training", "Meeting", "Break"]
if system_presence && !allowed_values.include?(system_presence)
fail "invalid value for 'system_presence', must be one of #{allowed_values}"
end
@system_presence = system_presence
end
@@ -209,10 +209,10 @@
@routing_status = routing_status
end
# Custom attribute writer method checking allowed values (enum).
def actual_activity_category=(actual_activity_category)
- allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable", ""]
+ allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable"]
if actual_activity_category && !allowed_values.include?(actual_activity_category)
fail "invalid value for 'actual_activity_category', must be one of #{allowed_values}"
end
@actual_activity_category = actual_activity_category
end