Class: Lexicon::Common::Package::V1::SourceFileSet

Inherits:
Object
  • Object
show all
Includes:
Mixin::Nameable
Defined in:
lib/lexicon/common/package/v1/source_file_set.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, name:, structure:, data:, tables:) ⇒ SourceFileSet

Returns a new instance of SourceFileSet.

Parameters:

  • id (String)
  • name (String)
  • structure (String)
  • data (String)
  • tables (Array<String>)


17
18
19
20
21
22
23
# File 'lib/lexicon/common/package/v1/source_file_set.rb', line 17

def initialize(id:, name:, structure:, data:, tables:)
  @id = id
  @name = name
  @structure_path = structure
  @data_path = data
  @tables = tables
end

Instance Attribute Details

#data_pathObject (readonly)

Returns the value of attribute data_path.



10
11
12
# File 'lib/lexicon/common/package/v1/source_file_set.rb', line 10

def data_path
  @data_path
end

#idObject (readonly)

Returns the value of attribute id.



10
11
12
# File 'lib/lexicon/common/package/v1/source_file_set.rb', line 10

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



10
11
12
# File 'lib/lexicon/common/package/v1/source_file_set.rb', line 10

def name
  @name
end

#structure_pathObject (readonly)

Returns the value of attribute structure_path.



10
11
12
# File 'lib/lexicon/common/package/v1/source_file_set.rb', line 10

def structure_path
  @structure_path
end

#tablesObject (readonly)

Returns the value of attribute tables.



10
11
12
# File 'lib/lexicon/common/package/v1/source_file_set.rb', line 10

def tables
  @tables
end