Class: TreasureData::BulkImport

Inherits:
Model
  • Object
show all
Defined in:
lib/td/client/model.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#client

Instance Method Summary collapse

Constructor Details

#initialize(client, data = {}) ⇒ BulkImport

Returns a new instance of BulkImport.

Parameters:



675
676
677
678
679
680
681
682
683
684
685
686
687
# File 'lib/td/client/model.rb', line 675

def initialize(client, data={})
  super(client)
  @name = data['name']
  @database = data['database']
  @table = data['table']
  @status = data['status']
  @upload_frozen = data['upload_frozen']
  @job_id = data['job_id']
  @valid_records = data['valid_records']
  @error_records = data['error_records']
  @valid_parts = data['valid_parts']
  @error_parts = data['error_parts']
end

Instance Attribute Details

#databaseObject (readonly)

Returns the value of attribute database.



699
# File 'lib/td/client/model.rb', line 699

attr_reader :name

#error_partsObject (readonly)

Returns the value of attribute error_parts.



699
# File 'lib/td/client/model.rb', line 699

attr_reader :name

#error_recordsObject (readonly)

Returns the value of attribute error_records.



699
# File 'lib/td/client/model.rb', line 699

attr_reader :name

#job_idObject (readonly)

Returns the value of attribute job_id.



699
# File 'lib/td/client/model.rb', line 699

attr_reader :name

#nameObject (readonly)

Returns the value of attribute name.



699
700
701
# File 'lib/td/client/model.rb', line 699

def name
  @name
end

#org_nameObject (readonly)

Returns the value of attribute org_name.



699
# File 'lib/td/client/model.rb', line 699

attr_reader :name

#statusObject (readonly)

Returns the value of attribute status.



699
# File 'lib/td/client/model.rb', line 699

attr_reader :name

#tableObject (readonly)

Returns the value of attribute table.



699
# File 'lib/td/client/model.rb', line 699

attr_reader :name

#valid_partsObject (readonly)

Returns the value of attribute valid_parts.



699
# File 'lib/td/client/model.rb', line 699

attr_reader :name

#valid_recordsObject (readonly)

Returns the value of attribute valid_records.



699
# File 'lib/td/client/model.rb', line 699

attr_reader :name

Instance Method Details

#upload_frozen?Boolean

Returns:

  • (Boolean)


711
712
713
# File 'lib/td/client/model.rb', line 711

def upload_frozen?
  @upload_frozen
end