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