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.
419 420 421 422 423 424 425 426 427 428 429 430 431 432 |
# File 'lib/td/client/model.rb', line 419 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'] @org_name = data['organization'] end |
Instance Attribute Details
#database ⇒ Object (readonly)
Returns the value of attribute database.
435 436 437 |
# File 'lib/td/client/model.rb', line 435 def database @database end |
#error_parts ⇒ Object (readonly)
Returns the value of attribute error_parts.
442 443 444 |
# File 'lib/td/client/model.rb', line 442 def error_parts @error_parts end |
#error_records ⇒ Object (readonly)
Returns the value of attribute error_records.
440 441 442 |
# File 'lib/td/client/model.rb', line 440 def error_records @error_records end |
#job_id ⇒ Object (readonly)
Returns the value of attribute job_id.
438 439 440 |
# File 'lib/td/client/model.rb', line 438 def job_id @job_id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
434 435 436 |
# File 'lib/td/client/model.rb', line 434 def name @name end |
#org_name ⇒ Object (readonly)
Returns the value of attribute org_name.
443 444 445 |
# File 'lib/td/client/model.rb', line 443 def org_name @org_name end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
437 438 439 |
# File 'lib/td/client/model.rb', line 437 def status @status end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
436 437 438 |
# File 'lib/td/client/model.rb', line 436 def table @table end |
#valid_parts ⇒ Object (readonly)
Returns the value of attribute valid_parts.
441 442 443 |
# File 'lib/td/client/model.rb', line 441 def valid_parts @valid_parts end |
#valid_records ⇒ Object (readonly)
Returns the value of attribute valid_records.
439 440 441 |
# File 'lib/td/client/model.rb', line 439 def valid_records @valid_records end |
Instance Method Details
#upload_frozen? ⇒ Boolean
445 446 447 |
# File 'lib/td/client/model.rb', line 445 def upload_frozen? @upload_frozen end |