Method: AsposeCellsCloud::DataFillRequest#initialize

Defined in:
lib/aspose_cells_cloud/models/data_fill_request.rb

#initialize(attributes = {}) ⇒ DataFillRequest

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'lib/aspose_cells_cloud/models/data_fill_request.rb', line 69

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?(:'File')
      self.file = attributes[:'File']
  end
  if attributes.has_key?(:'OutFileFormat')
      self.out_file_format = attributes[:'OutFileFormat']
  end
  if attributes.has_key?(:'CheckExcelRestriction')
      self.check_excel_restriction = attributes[:'CheckExcelRestriction']
  end
  if attributes.has_key?(:'Region')
      self.region = attributes[:'Region']
  end
  if attributes.has_key?(:'DataFill')
      self.data_fill = attributes[:'DataFill']
  end

end