lib/purecloudplatformclientv2/models/message_data.rb in purecloudplatformclientv2-44.0.0 vs lib/purecloudplatformclientv2/models/message_data.rb in purecloudplatformclientv2-45.0.0
- old
+ new
@@ -344,11 +344,11 @@
return false
end
- allowed_values = ["queued", "sent", "failed", "received"]
+ allowed_values = ["queued", "sent", "failed", "received", "delivery-success", "delivery-failed", "read"]
if @status && !allowed_values.include?(@status)
return false
end
@@ -437,10 +437,10 @@
# Custom attribute writer method checking allowed values (enum).
# @param [Object] status Object to be assigned
def status=(status)
- allowed_values = ["queued", "sent", "failed", "received"]
+ allowed_values = ["queued", "sent", "failed", "received", "delivery-success", "delivery-failed", "read"]
if status && !allowed_values.include?(status)
fail ArgumentError, "invalid value for 'status', must be one of #{allowed_values}."
end
@status = status
end