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

- old
+ new

@@ -25,10 +25,12 @@ attr_accessor :description attr_accessor :resources + 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 @@ -40,10 +42,12 @@ :'description' => :'description', :'resources' => :'resources', + :'current_operation' => :'currentOperation', + :'self_uri' => :'selfUri' } end @@ -52,10 +56,11 @@ { :'id' => :'String', :'name' => :'String', :'description' => :'String', :'resources' => :'Array<PromptAsset>', + :'current_operation' => :'Operation', :'self_uri' => :'String' } end @@ -82,10 +87,14 @@ if (value = attributes[:'resources']).is_a?(Array) self.resources = value end end + if attributes[:'currentOperation'] + self.current_operation = attributes[:'currentOperation'] + end + if attributes[:'selfUri'] self.self_uri = attributes[:'selfUri'] end end @@ -96,20 +105,21 @@ self.class == o.class && id == o.id && name == o.name && description == o.description && resources == o.resources && + 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, description, resources, self_uri].hash + [id, name, description, resources, current_operation, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)