View Source GoogleApi.ContentWarehouse.V1.Model.BookCitationPerDocData (google_api_content_warehouse v0.4.0)

Per-doc data for the web page about the cited book Approximate size is on average ~10bytes

Attributes

  • bookId (type: String.t, default: nil) - the book id for the main citation
  • discretizedCitationScore (type: integer(), default: nil) - the discretized citation score for the main book. we map the raw score 1.0-20.0 to 0 - 127
  • previewable (type: boolean(), default: nil) - Is there a preview or excerpt of the book on this document?
  • secondBookId (type: String.t, default: nil) - book id for the second citation if we can't separate the two top citations (they are too close).
  • secondDiscretizedCitationScore (type: integer(), default: nil) - the discretized score for the second citation

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.BookCitationPerDocData{
  bookId: String.t() | nil,
  discretizedCitationScore: integer() | nil,
  previewable: boolean() | nil,
  secondBookId: String.t() | nil,
  secondDiscretizedCitationScore: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.