View Source GoogleApi.ContentWarehouse.V1.Model.OceanVolumeAccessRights (google_api_content_warehouse v0.3.0)

Attributes

  • allowAutoGeneratedText (type: boolean(), default: nil) - If false, then we can only provide text layer generated from publisher provided epub.
  • canShowInfoCards (type: boolean(), default: nil) - Whether we can show info cards inside this book.
  • canShowPhotos (type: boolean(), default: nil) - Whether we can show photos inside this book.
  • numAdeDeviceAllowed (type: integer(), default: nil) - Maximum number of Adobe Digital Editions device per sale item allowed. 0 means no download allowed. -1 means unlimited download.
  • numAdobeIdAllowed (type: integer(), default: nil) - Maximum number of Adobe id per sale item allowed. 0 means no download allowed. -1 means unlimited download.
  • numDownloadsAllowed (type: integer(), default: nil) - Max. number of Google eBooks downloads allowed. This is related to iPhone/iPad/Androrid/WebReader reading, not to epub/pdf downloads. 0 means no download allowed. This is related to bug #3094719.
  • numSimultaneousAccess (type: integer(), default: nil) - Number of readers can read the Google eBooks simultaneously
  • offlineDownload (type: String.t, default: nil) - Download type for offline reading
  • percentCopyable (type: integer(), default: nil) - How much of a volume we allow user to extract as text (for copy+paste)
  • percentPrintable (type: integer(), default: nil) - How much of a volume we allow user to print
  • restrictOnlyToText (type: boolean(), default: nil) - True iff restrict view only to epub text. Don't show page images if this is true. Some pubs don't have copyright for page layout and fonts.
  • sellFixedLayoutAsImageOnly (type: boolean(), default: nil) - Whether we sell fixed layout as image only.
  • textToSpeech (type: boolean(), default: nil) - Whether text to speech is allowed
  • treatAsPublicDomain (type: boolean(), default: nil) - Whether we treat this book as public domain.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.OceanVolumeAccessRights{
  allowAutoGeneratedText: boolean() | nil,
  canShowInfoCards: boolean() | nil,
  canShowPhotos: boolean() | nil,
  numAdeDeviceAllowed: integer() | nil,
  numAdobeIdAllowed: integer() | nil,
  numDownloadsAllowed: integer() | nil,
  numSimultaneousAccess: integer() | nil,
  offlineDownload: String.t() | nil,
  percentCopyable: integer() | nil,
  percentPrintable: integer() | nil,
  restrictOnlyToText: boolean() | nil,
  sellFixedLayoutAsImageOnly: boolean() | nil,
  textToSpeech: boolean() | nil,
  treatAsPublicDomain: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.