Sha256: 9be749aedda29609aff846fc6b4eed41f5b4e1a0ffe425ecf9679e522e8d5785

Contents?: true

Size: 990 Bytes

Versions: 6

Compression:

Stored size: 990 Bytes

Contents

module AsposeCellsCloud
  # 
  class ImportSource < BaseObject
    attr_accessor :file_source_type, :file_path
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'file_source_type' => :'FileSourceType',
        
        # 
        :'file_path' => :'FilePath'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'file_source_type' => :'String',
        :'file_path' => :'String'
        
      }
    end

    def initialize(attributes = {})
      return if !attributes.is_a?(Hash) || attributes.empty?

      # convert string to symbol for hash key
      attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}

      
      if attributes[:'FileSourceType']
        self.file_source_type = attributes[:'FileSourceType']
      end
      
      if attributes[:'FilePath']
        self.file_path = attributes[:'FilePath']
      end
      
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
aspose_cells_cloud-1.0.10 lib/aspose_cells_cloud/models/import_source.rb
aspose_cells_cloud-1.0.9 lib/aspose_cells_cloud/models/import_source.rb
aspose_cells_cloud-1.0.8 lib/aspose_cells_cloud/models/import_source.rb
aspose_cells_cloud-1.0.7 lib/aspose_cells_cloud/models/import_source.rb
aspose_cells_cloud-1.0.6 lib/aspose_cells_cloud/models/import_source.rb
aspose_cells_cloud-1.0.5 lib/aspose_cells_cloud/models/import_source.rb