Class: V1::AliquotResource

Inherits:
JSONAPI::Resource
  • Object
show all
Defined in:
app/resources/v1/aliquot_resource.rb

Overview

TODO:

This documentation does not yet include a detailed description of what this resource represents.

TODO:

This documentation does not yet include detailed descriptions for relationships, attributes and filters.

TODO:

This documentation does not yet include any example usage of the API via cURL or similar.

Note:

Access this resource via the /v1/aliquots/ endpoint.

Provides a JSON:API representation of Aliquot.

For more information about JSON:API see the JSON:API Specifications or look at the JSONAPI::Resources package for the service implementation of the JSON:API standard.

Direct Known Subclasses

Pacbio::AliquotResource

Instance Attribute Summary collapse

Instance Attribute Details

#aliquot_typeString

Returns the type of the aliquot.

Returns:

  • (String)

    the type of the aliquot



42
43
# File 'app/resources/v1/aliquot_resource.rb', line 42

attributes :aliquot_type, :source_id, :source_type, :used_by_id, :used_by_type, :state,
:volume, :concentration, :insert_size, :template_prep_kit_box_barcode, :tag_id

#concentrationFloat

Returns the concentration of the aliquot.

Returns:

  • (Float)

    the concentration of the aliquot



42
43
# File 'app/resources/v1/aliquot_resource.rb', line 42

attributes :aliquot_type, :source_id, :source_type, :used_by_id, :used_by_type, :state,
:volume, :concentration, :insert_size, :template_prep_kit_box_barcode, :tag_id

#insert_sizeInteger

Returns the insert size of the aliquot.

Returns:

  • (Integer)

    the insert size of the aliquot



42
43
# File 'app/resources/v1/aliquot_resource.rb', line 42

attributes :aliquot_type, :source_id, :source_type, :used_by_id, :used_by_type, :state,
:volume, :concentration, :insert_size, :template_prep_kit_box_barcode, :tag_id

#source_idInteger

Returns the ID of the source.

Returns:

  • (Integer)

    the ID of the source



42
43
# File 'app/resources/v1/aliquot_resource.rb', line 42

attributes :aliquot_type, :source_id, :source_type, :used_by_id, :used_by_type, :state,
:volume, :concentration, :insert_size, :template_prep_kit_box_barcode, :tag_id

#source_typeString

Returns the type of the source.

Returns:

  • (String)

    the type of the source



42
43
# File 'app/resources/v1/aliquot_resource.rb', line 42

attributes :aliquot_type, :source_id, :source_type, :used_by_id, :used_by_type, :state,
:volume, :concentration, :insert_size, :template_prep_kit_box_barcode, :tag_id

#stateString

Returns the state of the aliquot.

Returns:

  • (String)

    the state of the aliquot



42
43
# File 'app/resources/v1/aliquot_resource.rb', line 42

attributes :aliquot_type, :source_id, :source_type, :used_by_id, :used_by_type, :state,
:volume, :concentration, :insert_size, :template_prep_kit_box_barcode, :tag_id

#tag_idInteger

Returns the ID of the tag associated with the aliquot.

Returns:

  • (Integer)

    the ID of the tag associated with the aliquot



42
43
# File 'app/resources/v1/aliquot_resource.rb', line 42

attributes :aliquot_type, :source_id, :source_type, :used_by_id, :used_by_type, :state,
:volume, :concentration, :insert_size, :template_prep_kit_box_barcode, :tag_id

#template_prep_kit_box_barcodeString

Returns the barcode of the template prep kit box.

Returns:

  • (String)

    the barcode of the template prep kit box



42
43
# File 'app/resources/v1/aliquot_resource.rb', line 42

attributes :aliquot_type, :source_id, :source_type, :used_by_id, :used_by_type, :state,
:volume, :concentration, :insert_size, :template_prep_kit_box_barcode, :tag_id

#used_by_idInteger

Returns the ID of the entity that used the aliquot.

Returns:

  • (Integer)

    the ID of the entity that used the aliquot



42
43
# File 'app/resources/v1/aliquot_resource.rb', line 42

attributes :aliquot_type, :source_id, :source_type, :used_by_id, :used_by_type, :state,
:volume, :concentration, :insert_size, :template_prep_kit_box_barcode, :tag_id

#used_by_typeString

Returns the type of the entity that used the aliquot.

Returns:

  • (String)

    the type of the entity that used the aliquot



42
43
# File 'app/resources/v1/aliquot_resource.rb', line 42

attributes :aliquot_type, :source_id, :source_type, :used_by_id, :used_by_type, :state,
:volume, :concentration, :insert_size, :template_prep_kit_box_barcode, :tag_id

#volumeFloat

Returns the volume of the aliquot.

Returns:

  • (Float)

    the volume of the aliquot



42
43
# File 'app/resources/v1/aliquot_resource.rb', line 42

attributes :aliquot_type, :source_id, :source_type, :used_by_id, :used_by_type, :state,
:volume, :concentration, :insert_size, :template_prep_kit_box_barcode, :tag_id