# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule GoogleApi.Genomics.V1.Model.Reference do @moduledoc """ A reference is a canonical assembled DNA sequence, intended to act as a reference coordinate space for other genomic annotations. A single reference might represent the human chromosome 1 or mitochandrial DNA, for instance. A reference belongs to one or more reference sets. For more genomics resource definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) ## Attributes - id (String): The server-generated reference ID, unique across all references. Defaults to: `null`. - length (String): The length of this reference's sequence. Defaults to: `null`. - md5checksum (String): MD5 of the upper-case sequence excluding all whitespace characters (this is equivalent to SQ:M5 in SAM). This value is represented in lower case hexadecimal format. Defaults to: `null`. - name (String): The name of this reference, for example `22`. Defaults to: `null`. - ncbiTaxonId (Integer): ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human. Defaults to: `null`. - sourceAccessions (List[String]): All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `GCF_000001405.26`. Defaults to: `null`. - sourceUri (String): The URI from which the sequence was obtained. Typically specifies a FASTA format file. Defaults to: `null`. """ defstruct [ :"id", :"length", :"md5checksum", :"name", :"ncbiTaxonId", :"sourceAccessions", :"sourceUri" ] end defimpl Poison.Decoder, for: GoogleApi.Genomics.V1.Model.Reference do def decode(value, _options) do value end end defimpl Poison.Encoder, for: GoogleApi.Genomics.V1.Model.Reference do def encode(value, options) do GoogleApi.Genomics.V1.Deserializer.serialize_non_nil(value, options) end end