lib/purecloudplatformclientv2/models/email.rb in purecloudplatformclientv2-24.0.0 vs lib/purecloudplatformclientv2/models/email.rb in purecloudplatformclientv2-25.0.0
- old
+ new
@@ -345,11 +345,11 @@
# @return true if the model is valid
def valid?
- allowed_values = ["alerting", "connected", "disconnected", "none"]
+ allowed_values = ["alerting", "connected", "disconnected", "none", "transmitting"]
if @state && !allowed_values.include?(@state)
return false
end
@@ -437,10 +437,10 @@
# Custom attribute writer method checking allowed values (enum).
# @param [Object] state Object to be assigned
def state=(state)
- allowed_values = ["alerting", "connected", "disconnected", "none"]
+ allowed_values = ["alerting", "connected", "disconnected", "none", "transmitting"]
if state && !allowed_values.include?(state)
fail ArgumentError, "invalid value for 'state', must be one of #{allowed_values}."
end
@state = state
end