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.

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:3100/v1/pacbio/v1/smrt_link_versions/1?include=smrt_link_option_versions

Examples:

curl -X GET http://localhost:3100/v1/pacbio/smrt_link_versions/1
curl -X GET http://localhost:3100/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



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

attributes :name, :default, :active

#defaultBoolean

Returns whether the SMRT Link version is the default.

Returns:

  • (Boolean)

    whether the SMRT Link version is the default



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

attributes :name, :default, :active

#nameString

Returns the name of the SMRT Link version.

Returns:

  • (String)

    the name of the SMRT Link version



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

attributes :name, :default, :active