lib/purecloud/models/voicemail_message_notification.rb in purecloud-0.65.1 vs lib/purecloud/models/voicemail_message_notification.rb in purecloud-0.66.1
- old
+ new
@@ -32,10 +32,18 @@
attr_accessor :caller_address
attr_accessor :caller_name
+ attr_accessor :action
+
+ attr_accessor :note
+
+ attr_accessor :deleted
+
+ attr_accessor :modified_by_user_id
+
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'id' => :'id',
@@ -50,12 +58,20 @@
:'modified_date' => :'modifiedDate',
:'caller_address' => :'callerAddress',
- :'caller_name' => :'callerName'
+ :'caller_name' => :'callerName',
+ :'action' => :'action',
+
+ :'note' => :'note',
+
+ :'deleted' => :'deleted',
+
+ :'modified_by_user_id' => :'modifiedByUserId'
+
}
end
# Attribute type mapping.
def self.swagger_types
@@ -65,11 +81,15 @@
:'audio_recording_duration_seconds' => :'Integer',
:'audio_recording_size_bytes' => :'Integer',
:'created_date' => :'DateTime',
:'modified_date' => :'DateTime',
:'caller_address' => :'String',
- :'caller_name' => :'String'
+ :'caller_name' => :'String',
+ :'action' => :'String',
+ :'note' => :'String',
+ :'deleted' => :'BOOLEAN',
+ :'modified_by_user_id' => :'String'
}
end
def initialize(attributes = {})
@@ -109,10 +129,26 @@
if attributes[:'callerName']
self.caller_name = attributes[:'callerName']
end
+ if attributes[:'action']
+ self.action = attributes[:'action']
+ end
+
+ if attributes[:'note']
+ self.note = attributes[:'note']
+ end
+
+ if attributes[:'deleted']
+ self.deleted = attributes[:'deleted']
+ end
+
+ if attributes[:'modifiedByUserId']
+ self.modified_by_user_id = attributes[:'modifiedByUserId']
+ end
+
end
# Check equality by comparing each attribute.
def ==(o)
return true if self.equal?(o)
@@ -122,20 +158,24 @@
audio_recording_duration_seconds == o.audio_recording_duration_seconds &&
audio_recording_size_bytes == o.audio_recording_size_bytes &&
created_date == o.created_date &&
modified_date == o.modified_date &&
caller_address == o.caller_address &&
- caller_name == o.caller_name
+ caller_name == o.caller_name &&
+ action == o.action &&
+ note == o.note &&
+ deleted == o.deleted &&
+ modified_by_user_id == o.modified_by_user_id
end
# @see the `==` method
def eql?(o)
self == o
end
# Calculate hash code according to all attributes.
def hash
- [id, read, audio_recording_duration_seconds, audio_recording_size_bytes, created_date, modified_date, caller_address, caller_name].hash
+ [id, read, audio_recording_duration_seconds, audio_recording_size_bytes, created_date, modified_date, caller_address, caller_name, action, note, deleted, modified_by_user_id].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)