Class: Retab::CreateWorkflowTableUploadRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Retab::CreateWorkflowTableUploadRequest
- Defined in:
- lib/retab/tables/create_workflow_table_upload_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ name: :name, file: :file, column_schema_overrides: :column_schema_overrides, project_id: :project_id }.freeze
Instance Attribute Summary collapse
-
#column_schema_overrides ⇒ Object
Returns the value of attribute column_schema_overrides.
-
#file ⇒ Object
Returns the value of attribute file.
-
#name ⇒ Object
Returns the value of attribute name.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ CreateWorkflowTableUploadRequest
constructor
A new instance of CreateWorkflowTableUploadRequest.
Methods inherited from Types::BaseModel
deep_symbolize, #inspect, normalize, #to_h, #to_json
Constructor Details
#initialize(json) ⇒ CreateWorkflowTableUploadRequest
Returns a new instance of CreateWorkflowTableUploadRequest.
22 23 24 25 26 27 28 29 |
# File 'lib/retab/tables/create_workflow_table_upload_request.rb', line 22 def initialize(json) super() hash = self.class.normalize(json) @name = hash[:name] @file = hash[:file] @column_schema_overrides = hash[:column_schema_overrides] @project_id = hash[:project_id] end |
Instance Attribute Details
#column_schema_overrides ⇒ Object
Returns the value of attribute column_schema_overrides.
15 16 17 |
# File 'lib/retab/tables/create_workflow_table_upload_request.rb', line 15 def column_schema_overrides @column_schema_overrides end |
#file ⇒ Object
Returns the value of attribute file.
15 16 17 |
# File 'lib/retab/tables/create_workflow_table_upload_request.rb', line 15 def file @file end |
#name ⇒ Object
Returns the value of attribute name.
15 16 17 |
# File 'lib/retab/tables/create_workflow_table_upload_request.rb', line 15 def name @name end |
#project_id ⇒ Object
Returns the value of attribute project_id.
15 16 17 |
# File 'lib/retab/tables/create_workflow_table_upload_request.rb', line 15 def project_id @project_id end |