Class: Etna::Clients::Magma::RetrievalRequest
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Magma::RetrievalRequest
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/magma/models.rb
Instance Attribute Summary collapse
-
#attribute_names ⇒ Object
Returns the value of attribute attribute_names.
-
#filter ⇒ Object
Returns the value of attribute filter.
-
#model_name ⇒ Object
Returns the value of attribute model_name.
-
#order ⇒ Object
Returns the value of attribute order.
-
#page ⇒ Object
Returns the value of attribute page.
-
#page_size ⇒ Object
Returns the value of attribute page_size.
-
#project_name ⇒ Object
Returns the value of attribute project_name.
-
#record_names ⇒ Object
Returns the value of attribute record_names.
Instance Method Summary collapse
-
#initialize(**params) ⇒ RetrievalRequest
constructor
A new instance of RetrievalRequest.
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**params) ⇒ RetrievalRequest
Returns a new instance of RetrievalRequest.
16 17 18 |
# File 'lib/etna/clients/magma/models.rb', line 16 def initialize(**params) super({model_name: 'all', attribute_names: 'all', record_names: []}.update(params)) end |
Instance Attribute Details
#attribute_names ⇒ Object
Returns the value of attribute attribute_names
13 14 15 |
# File 'lib/etna/clients/magma/models.rb', line 13 def attribute_names @attribute_names end |
#filter ⇒ Object
Returns the value of attribute filter
13 14 15 |
# File 'lib/etna/clients/magma/models.rb', line 13 def filter @filter end |
#model_name ⇒ Object
Returns the value of attribute model_name
13 14 15 |
# File 'lib/etna/clients/magma/models.rb', line 13 def model_name @model_name end |
#order ⇒ Object
Returns the value of attribute order
13 14 15 |
# File 'lib/etna/clients/magma/models.rb', line 13 def order @order end |
#page ⇒ Object
Returns the value of attribute page
13 14 15 |
# File 'lib/etna/clients/magma/models.rb', line 13 def page @page end |
#page_size ⇒ Object
Returns the value of attribute page_size
13 14 15 |
# File 'lib/etna/clients/magma/models.rb', line 13 def page_size @page_size end |
#project_name ⇒ Object
Returns the value of attribute project_name
13 14 15 |
# File 'lib/etna/clients/magma/models.rb', line 13 def project_name @project_name end |
#record_names ⇒ Object
Returns the value of attribute record_names
13 14 15 |
# File 'lib/etna/clients/magma/models.rb', line 13 def record_names @record_names end |