lib/purecloud/models/voice_xml_operation.rb in purecloud-0.44.1 vs lib/purecloud/models/voice_xml_operation.rb in purecloud-0.45.1

- old
+ new

@@ -39,10 +39,12 @@ attr_accessor :fetch_audio attr_accessor :timeout_ms + attr_accessor :current_operation + # The URI for this object attr_accessor :self_uri # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -68,10 +70,12 @@ :'fetch_audio' => :'fetchAudio', :'timeout_ms' => :'timeoutMS', + :'current_operation' => :'currentOperation', + :'self_uri' => :'selfUri' } end @@ -87,10 +91,11 @@ :'uri' => :'String', :'inputs' => :'String', :'outputs' => :'String', :'fetch_audio' => :'String', :'timeout_ms' => :'Integer', + :'current_operation' => :'Operation', :'self_uri' => :'String' } end @@ -143,10 +148,14 @@ if attributes[:'timeoutMS'] self.timeout_ms = attributes[:'timeoutMS'] end + if attributes[:'currentOperation'] + self.current_operation = attributes[:'currentOperation'] + end + if attributes[:'selfUri'] self.self_uri = attributes[:'selfUri'] end end @@ -191,20 +200,21 @@ uri == o.uri && inputs == o.inputs && outputs == o.outputs && fetch_audio == o.fetch_audio && timeout_ms == o.timeout_ms && + current_operation == o.current_operation && 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, type, method, encoding, description, uri, inputs, outputs, fetch_audio, timeout_ms, self_uri].hash + [id, name, type, method, encoding, description, uri, inputs, outputs, fetch_audio, timeout_ms, current_operation, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)