Class: V1::Pacbio::SmrtLinkVersionResource

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

Overview

Note:

Access this resource via the /v1/pacbio/smrt_link_versions/ endpoint.

The JSON:API representation of a Pacbio::SmrtLinkVersion. 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.

This resource represents a Pacbio SmrtLinkVersion and can return all smrt_link_versions or a single smrt_link_version

This resource has no filters.

Primary relationships:

localhost:3000/v1/pacbio/v1/smrt_link_versions/1?include=smrt_link_option_versions

Examples:

curl -X GET http://localhost:3000/v1/pacbio/smrt_link_versions/1
curl -X GET http://localhost:3000/v1/pacbio/smrt_link_versions

Instance Attribute Summary collapse

Instance Attribute Details

#activeBoolean

Returns whether the SMRT Link version is active.

Returns:

  • (Boolean)

    whether the SMRT Link version is active



36
# File 'app/resources/v1/pacbio/smrt_link_version_resource.rb', line 36

attributes :name, :default, :active

#defaultBoolean

Returns whether the SMRT Link version is the default.

Returns:

  • (Boolean)

    whether the SMRT Link version is the default



36
# File 'app/resources/v1/pacbio/smrt_link_version_resource.rb', line 36

attributes :name, :default, :active

#nameString

Returns the name of the SMRT Link version.

Returns:

  • (String)

    the name of the SMRT Link version



36
# File 'app/resources/v1/pacbio/smrt_link_version_resource.rb', line 36

attributes :name, :default, :active