lib/purecloud/models/inbound_route.rb in purecloud-0.55.1 vs lib/purecloud/models/inbound_route.rb in purecloud-0.56.1
- old
+ new
@@ -42,10 +42,13 @@
attr_accessor :from_name
# The sender email to use for outgoing replies.
attr_accessor :from_email
+ # The flow to use for processing the email.
+ attr_accessor :flow
+
# The URI for this object
attr_accessor :self_uri
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
@@ -67,10 +70,12 @@
:'from_name' => :'fromName',
:'from_email' => :'fromEmail',
+ :'flow' => :'flow',
+
:'self_uri' => :'selfUri'
}
end
@@ -84,10 +89,11 @@
:'priority' => :'Integer',
:'skills' => :'Array<UriReference>',
:'language' => :'UriReference',
:'from_name' => :'String',
:'from_email' => :'String',
+ :'flow' => :'UriReference',
:'self_uri' => :'String'
}
end
@@ -134,10 +140,14 @@
if attributes[:'fromEmail']
self.from_email = attributes[:'fromEmail']
end
+ if attributes[:'flow']
+ self.flow = attributes[:'flow']
+ end
+
if attributes[:'selfUri']
self.self_uri = attributes[:'selfUri']
end
end
@@ -153,20 +163,21 @@
priority == o.priority &&
skills == o.skills &&
language == o.language &&
from_name == o.from_name &&
from_email == o.from_email &&
+ flow == o.flow &&
self_uri == o.self_uri
end
# @see the `==` method
def eql?(o)
self == o
end
# Calculate hash code according to all attributes.
def hash
- [id, name, pattern, queue, priority, skills, language, from_name, from_email, self_uri].hash
+ [id, name, pattern, queue, priority, skills, language, from_name, from_email, flow, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)