# 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.Books.V1.Model.Layersummary do @moduledoc """ ## Attributes - annotationCount (integer()): The number of annotations for this layer. Defaults to: `null`. - annotationTypes ([String.t]): The list of annotation types contained for this layer. Defaults to: `null`. - annotationsDataLink (String.t): Link to get data for this annotation. Defaults to: `null`. - annotationsLink (String.t): The link to get the annotations for this layer. Defaults to: `null`. - contentVersion (String.t): The content version this resource is for. Defaults to: `null`. - dataCount (integer()): The number of data items for this layer. Defaults to: `null`. - id (String.t): Unique id of this layer summary. Defaults to: `null`. - kind (String.t): Resource Type Defaults to: `null`. - layerId (String.t): The layer id for this summary. Defaults to: `null`. - selfLink (String.t): URL to this resource. Defaults to: `null`. - updated (DateTime.t): Timestamp for the last time an item in this layer was updated. (RFC 3339 UTC date-time format). Defaults to: `null`. - volumeAnnotationsVersion (String.t): The current version of this layer's volume annotations. Note that this version applies only to the data in the books.layers.volumeAnnotations.* responses. The actual annotation data is versioned separately. Defaults to: `null`. - volumeId (String.t): The volume id this resource is for. Defaults to: `null`. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ :annotationCount => any(), :annotationTypes => list(any()), :annotationsDataLink => any(), :annotationsLink => any(), :contentVersion => any(), :dataCount => any(), :id => any(), :kind => any(), :layerId => any(), :selfLink => any(), :updated => DateTime.t(), :volumeAnnotationsVersion => any(), :volumeId => any() } field(:annotationCount) field(:annotationTypes, type: :list) field(:annotationsDataLink) field(:annotationsLink) field(:contentVersion) field(:dataCount) field(:id) field(:kind) field(:layerId) field(:selfLink) field(:updated, as: DateTime) field(:volumeAnnotationsVersion) field(:volumeId) end defimpl Poison.Decoder, for: GoogleApi.Books.V1.Model.Layersummary do def decode(value, options) do GoogleApi.Books.V1.Model.Layersummary.decode(value, options) end end defimpl Poison.Encoder, for: GoogleApi.Books.V1.Model.Layersummary do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end end