Method: AsposePdfCloud::ObjectExist#initialize
- Defined in:
- lib/aspose_pdf_cloud/models/object_exist.rb
#initialize(attributes = {}) ⇒ ObjectExist
Initializes the object
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/aspose_pdf_cloud/models/object_exist.rb', line 53 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} if attributes.has_key?(:'Exists') self.exists = attributes[:'Exists'] end if attributes.has_key?(:'IsFolder') self.is_folder = attributes[:'IsFolder'] end end |