BookCitationPerDocData

GoogleApi.ContentWarehouse.V1.Model.BookCitationPerDocData


Table of Contents ▼

Jump to a specific part of the page:

Description

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

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. bookId (type: String.t, default: nil)
    - the book id for the main citation
  2. 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
  3. previewable (type: boolean(), default: nil)
    - Is there a preview or excerpt of the book on this document?
  4. 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).
  5. secondDiscretizedCitationScore (type: integer(), default: nil)
    - the discretized score for the second citation

Type

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

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.BookCitationPerDocData