lib/purecloudplatformclientv2/models/activity_code.rb in purecloudplatformclientv2-14.0.0 vs lib/purecloudplatformclientv2/models/activity_code.rb in purecloudplatformclientv2-14.1.0
- old
+ new
@@ -197,11 +197,11 @@
- allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable"]
+ allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable", "Unscheduled"]
if @category && !allowed_values.include?(@category)
return false
end
@@ -242,10 +242,10 @@
# Custom attribute writer method checking allowed values (enum).
# @param [Object] category Object to be assigned
def category=(category)
- allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable"]
+ allowed_values = ["OnQueueWork", "Break", "Meal", "Meeting", "OffQueueWork", "TimeOff", "Training", "Unavailable", "Unscheduled"]
if category && !allowed_values.include?(category)
fail ArgumentError, "invalid value for 'category', must be one of #{allowed_values}."
end
@category = category
end