Class: TreasureData::BulkImport
Instance Attribute Summary collapse
-
#database ⇒ Object
readonly
Returns the value of attribute database.
-
#error_parts ⇒ Object
readonly
Returns the value of attribute error_parts.
-
#error_records ⇒ Object
readonly
Returns the value of attribute error_records.
-
#job_id ⇒ Object
readonly
Returns the value of attribute job_id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#org_name ⇒ Object
readonly
Returns the value of attribute org_name.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
-
#valid_parts ⇒ Object
readonly
Returns the value of attribute valid_parts.
-
#valid_records ⇒ Object
readonly
Returns the value of attribute valid_records.
Attributes inherited from Model
Instance Method Summary collapse
-
#initialize(client, data = {}) ⇒ BulkImport
constructor
A new instance of BulkImport.
- #upload_frozen? ⇒ Boolean
Constructor Details
#initialize(client, data = {}) ⇒ BulkImport
Returns a new instance of BulkImport.
480 481 482 483 484 485 486 487 488 489 490 491 492 |
# File 'lib/td/client/model.rb', line 480 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
#database ⇒ Object (readonly)
Returns the value of attribute database.
495 496 497 |
# File 'lib/td/client/model.rb', line 495 def database @database end |
#error_parts ⇒ Object (readonly)
Returns the value of attribute error_parts.
502 503 504 |
# File 'lib/td/client/model.rb', line 502 def error_parts @error_parts end |
#error_records ⇒ Object (readonly)
Returns the value of attribute error_records.
500 501 502 |
# File 'lib/td/client/model.rb', line 500 def error_records @error_records end |
#job_id ⇒ Object (readonly)
Returns the value of attribute job_id.
498 499 500 |
# File 'lib/td/client/model.rb', line 498 def job_id @job_id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
494 495 496 |
# File 'lib/td/client/model.rb', line 494 def name @name end |
#org_name ⇒ Object (readonly)
Returns the value of attribute org_name.
503 504 505 |
# File 'lib/td/client/model.rb', line 503 def org_name @org_name end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
497 498 499 |
# File 'lib/td/client/model.rb', line 497 def status @status end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
496 497 498 |
# File 'lib/td/client/model.rb', line 496 def table @table end |
#valid_parts ⇒ Object (readonly)
Returns the value of attribute valid_parts.
501 502 503 |
# File 'lib/td/client/model.rb', line 501 def valid_parts @valid_parts end |
#valid_records ⇒ Object (readonly)
Returns the value of attribute valid_records.
499 500 501 |
# File 'lib/td/client/model.rb', line 499 def valid_records @valid_records end |
Instance Method Details
#upload_frozen? ⇒ Boolean
505 506 507 |
# File 'lib/td/client/model.rb', line 505 def upload_frozen? @upload_frozen end |