Class: Etna::Clients::Magma::RetrievalRequest

Inherits:
Struct
  • Object
show all
Includes:
JsonSerializableStruct
Defined in:
lib/etna/clients/magma/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from JsonSerializableStruct

#as_json, included, #to_json

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_namesObject

Returns the value of attribute attribute_names

Returns:

  • (Object)

    the current value of attribute_names



13
14
15
# File 'lib/etna/clients/magma/models.rb', line 13

def attribute_names
  @attribute_names
end

#filterObject

Returns the value of attribute filter

Returns:

  • (Object)

    the current value of filter



13
14
15
# File 'lib/etna/clients/magma/models.rb', line 13

def filter
  @filter
end

#hide_templatesObject

Returns the value of attribute hide_templates

Returns:

  • (Object)

    the current value of hide_templates



13
14
15
# File 'lib/etna/clients/magma/models.rb', line 13

def hide_templates
  @hide_templates
end

#model_nameObject

Returns the value of attribute model_name

Returns:

  • (Object)

    the current value of model_name



13
14
15
# File 'lib/etna/clients/magma/models.rb', line 13

def model_name
  @model_name
end

#orderObject

Returns the value of attribute order

Returns:

  • (Object)

    the current value of order



13
14
15
# File 'lib/etna/clients/magma/models.rb', line 13

def order
  @order
end

#pageObject

Returns the value of attribute page

Returns:

  • (Object)

    the current value of page



13
14
15
# File 'lib/etna/clients/magma/models.rb', line 13

def page
  @page
end

#page_sizeObject

Returns the value of attribute page_size

Returns:

  • (Object)

    the current value of page_size



13
14
15
# File 'lib/etna/clients/magma/models.rb', line 13

def page_size
  @page_size
end

#project_nameObject

Returns the value of attribute project_name

Returns:

  • (Object)

    the current value of project_name



13
14
15
# File 'lib/etna/clients/magma/models.rb', line 13

def project_name
  @project_name
end

#record_namesObject

Returns the value of attribute record_names

Returns:

  • (Object)

    the current value of record_names



13
14
15
# File 'lib/etna/clients/magma/models.rb', line 13

def record_names
  @record_names
end