Class: V1::Pacbio::LibraryBatchResource
- Inherits:
-
JSONAPI::Resource
- Object
- JSONAPI::Resource
- V1::Pacbio::LibraryBatchResource
- Defined in:
- app/resources/v1/pacbio/library_batch_resource.rb
Overview
Access this resource via the /v1/pacbio/library_batches/
endpoint. To return the libraries created, add libraries
to the include. To return the created libraries tubes add libraries.tube
to the include. For example /v1/pacbio/library_batches?include=libraries.tube
This resource is used to create batches of libraries in one go. This resource can only be accessed via a POST
request to the library_batches endpoint.
Provides a JSON:API representation of Pacbio::LibraryBatch.
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.
Instance Attribute Summary collapse
-
#created_at ⇒ String
writeonly
The creation time of the library.
-
#libraries_attributes ⇒ Array
writeonly
The attributes of the libraries.
Instance Method Summary collapse
Instance Attribute Details
#created_at=(value) ⇒ String (writeonly)
Returns the creation time of the library.
52 |
# File 'app/resources/v1/pacbio/library_batch_resource.rb', line 52 attributes :created_at, :libraries_attributes |
#libraries_attributes=(libraries_attributes_parameters) ⇒ Array (writeonly)
Returns the attributes of the libraries.
52 |
# File 'app/resources/v1/pacbio/library_batch_resource.rb', line 52 attributes :created_at, :libraries_attributes |
Instance Method Details
#fetchable_fields ⇒ Object
70 71 72 |
# File 'app/resources/v1/pacbio/library_batch_resource.rb', line 70 def fetchable_fields super - [:libraries_attributes] end |