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

Per-doc data for premium documents in the Google index.

Attributes

  • Currency (type: integer(), default: nil) - type froogle/currency/currency.h
  • Date (type: String.t, default: nil) - publishing date (seconds since 1970,
  • Entitlement (type: list(integer()), default: nil) - entitlement data
  • IsArchival (type: boolean(), default: nil) - True if a free document is archival in nature.
  • IsEntitled (type: boolean(), default: nil) - User is entitled to see the premium content for free.
  • Price (type: integer(), default: nil) - price * 100 if available
  • Publication (type: String.t, default: nil) - negative values for prior dates) FP of the Premium publication name

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.PremiumPerDocData{
  Currency: integer() | nil,
  Date: String.t() | nil,
  Entitlement: [integer()] | nil,
  IsArchival: boolean() | nil,
  IsEntitled: boolean() | nil,
  Price: integer() | nil,
  Publication: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.