lib/purecloud/models/fax_document.rb in purecloud-0.32.1 vs lib/purecloud/models/fax_document.rb in purecloud-0.33.1
- old
+ new
@@ -33,14 +33,14 @@
attr_accessor :receiver_address
attr_accessor :thumbnails
- attr_accessor :download_sharing_uri
-
attr_accessor :sharing_uri
+ attr_accessor :download_sharing_uri
+
# The URI for this object
attr_accessor :self_uri
# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
@@ -74,14 +74,14 @@
:'receiver_address' => :'receiverAddress',
:'thumbnails' => :'thumbnails',
- :'download_sharing_uri' => :'downloadSharingUri',
-
:'sharing_uri' => :'sharingUri',
+ :'download_sharing_uri' => :'downloadSharingUri',
+
:'self_uri' => :'selfUri'
}
end
@@ -101,12 +101,12 @@
:'read' => :'BOOLEAN',
:'page_count' => :'Integer',
:'caller_address' => :'String',
:'receiver_address' => :'String',
:'thumbnails' => :'Array<DocumentThumbnail>',
- :'download_sharing_uri' => :'String',
:'sharing_uri' => :'String',
+ :'download_sharing_uri' => :'String',
:'self_uri' => :'String'
}
end
@@ -179,18 +179,18 @@
if (value = attributes[:'thumbnails']).is_a?(Array)
self.thumbnails = value
end
end
- if attributes[:'downloadSharingUri']
- self.download_sharing_uri = attributes[:'downloadSharingUri']
- end
-
if attributes[:'sharingUri']
self.sharing_uri = attributes[:'sharingUri']
end
+ if attributes[:'downloadSharingUri']
+ self.download_sharing_uri = attributes[:'downloadSharingUri']
+ end
+
if attributes[:'selfUri']
self.self_uri = attributes[:'selfUri']
end
end
@@ -212,22 +212,22 @@
read == o.read &&
page_count == o.page_count &&
caller_address == o.caller_address &&
receiver_address == o.receiver_address &&
thumbnails == o.thumbnails &&
- download_sharing_uri == o.download_sharing_uri &&
sharing_uri == o.sharing_uri &&
+ download_sharing_uri == o.download_sharing_uri &&
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, date_created, date_modified, content_uri, workspace, created_by, content_type, content_length, filename, read, page_count, caller_address, receiver_address, thumbnails, download_sharing_uri, sharing_uri, self_uri].hash
+ [id, name, date_created, date_modified, content_uri, workspace, created_by, content_type, content_length, filename, read, page_count, caller_address, receiver_address, thumbnails, sharing_uri, download_sharing_uri, self_uri].hash
end
# build the object from hash
def build_from_hash(attributes)
return nil unless attributes.is_a?(Hash)