lib/purecloud/models/document.rb in purecloud-0.66.1 vs lib/purecloud/models/document.rb in purecloud-0.67.1

- old
+ new

@@ -77,14 +77,14 @@ # A list of permitted action rights for the user making the request attr_accessor :acl attr_accessor :sharing_status - 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 @@ -144,14 +144,14 @@ :'acl' => :'acl', :'sharing_status' => :'sharingStatus', - :'download_sharing_uri' => :'downloadSharingUri', - :'sharing_uri' => :'sharingUri', + :'download_sharing_uri' => :'downloadSharingUri', + :'self_uri' => :'selfUri' } end @@ -184,12 +184,12 @@ :'upload_destination_uri' => :'String', :'upload_method' => :'String', :'lock_info' => :'LockInfo', :'acl' => :'Array<String>', :'sharing_status' => :'String', - :'download_sharing_uri' => :'String', :'sharing_uri' => :'String', + :'download_sharing_uri' => :'String', :'self_uri' => :'String' } end @@ -320,18 +320,18 @@ if attributes[:'sharingStatus'] self.sharing_status = attributes[:'sharingStatus'] 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 @@ -393,22 +393,22 @@ upload_destination_uri == o.upload_destination_uri && upload_method == o.upload_method && lock_info == o.lock_info && acl == o.acl && sharing_status == o.sharing_status && - 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, change_number, date_created, date_modified, date_uploaded, content_uri, workspace, created_by, uploaded_by, content_type, content_length, system_type, filename, page_count, read, caller_address, receiver_address, tags, tag_values, attributes, thumbnails, upload_status, upload_destination_uri, upload_method, lock_info, acl, sharing_status, download_sharing_uri, sharing_uri, self_uri].hash + [id, name, change_number, date_created, date_modified, date_uploaded, content_uri, workspace, created_by, uploaded_by, content_type, content_length, system_type, filename, page_count, read, caller_address, receiver_address, tags, tag_values, attributes, thumbnails, upload_status, upload_destination_uri, upload_method, lock_info, acl, sharing_status, 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)