google_api_books v0.8.0 GoogleApi.Books.V1.Model.VolumeUserInfo View Source

User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)

Attributes

  • acquiredTime (type: DateTime.t, default: nil) - Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-time format) Acquiring includes purchase, user upload, receiving family sharing, etc.
  • acquisitionType (type: integer(), default: nil) - How this volume was acquired.
  • copy (type: GoogleApi.Books.V1.Model.VolumeUserInfoCopy.t, default: nil) - Copy/Paste accounting information.
  • entitlementType (type: integer(), default: nil) - Whether this volume is purchased, sample, pd download etc.
  • familySharing (type: GoogleApi.Books.V1.Model.VolumeUserInfoFamilySharing.t, default: nil) - Information on the ability to share with the family.
  • isFamilySharedFromUser (type: boolean(), default: nil) - Whether or not the user shared this volume with the family.
  • isFamilySharedToUser (type: boolean(), default: nil) - Whether or not the user received this volume through family sharing.
  • isFamilySharingAllowed (type: boolean(), default: nil) - Deprecated: Replaced by familySharing.
  • isFamilySharingDisabledByFop (type: boolean(), default: nil) - Deprecated: Replaced by familySharing.
  • isInMyBooks (type: boolean(), default: nil) - Whether or not this volume is currently in "my books."
  • isPreordered (type: boolean(), default: nil) - Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)
  • isPurchased (type: boolean(), default: nil) - Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)
  • isUploaded (type: boolean(), default: nil) - Whether or not this volume was user uploaded.
  • readingPosition (type: GoogleApi.Books.V1.Model.ReadingPosition.t, default: nil) - The user's current reading position in the volume, if one is available. (In LITE projection.)
  • rentalPeriod (type: GoogleApi.Books.V1.Model.VolumeUserInfoRentalPeriod.t, default: nil) - Period during this book is/was a valid rental.
  • rentalState (type: String.t, default: nil) - Whether this book is an active or an expired rental.
  • review (type: GoogleApi.Books.V1.Model.Review.t, default: nil) - This user's review of this volume, if one exists.
  • updated (type: DateTime.t, default: nil) - Timestamp when this volume was last modified by a user action, such as a reading position update, volume purchase or writing a review. (RFC 3339 UTC date-time format).
  • userUploadedVolumeInfo (type: GoogleApi.Books.V1.Model.VolumeUserInfoUserUploadedVolumeInfo.t, default: nil) -

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Books.V1.Model.VolumeUserInfo{
  acquiredTime: DateTime.t(),
  acquisitionType: integer(),
  copy: GoogleApi.Books.V1.Model.VolumeUserInfoCopy.t(),
  entitlementType: integer(),
  familySharing: GoogleApi.Books.V1.Model.VolumeUserInfoFamilySharing.t(),
  isFamilySharedFromUser: boolean(),
  isFamilySharedToUser: boolean(),
  isFamilySharingAllowed: boolean(),
  isFamilySharingDisabledByFop: boolean(),
  isInMyBooks: boolean(),
  isPreordered: boolean(),
  isPurchased: boolean(),
  isUploaded: boolean(),
  readingPosition: GoogleApi.Books.V1.Model.ReadingPosition.t(),
  rentalPeriod: GoogleApi.Books.V1.Model.VolumeUserInfoRentalPeriod.t(),
  rentalState: String.t(),
  review: GoogleApi.Books.V1.Model.Review.t(),
  updated: DateTime.t(),
  userUploadedVolumeInfo:
    GoogleApi.Books.V1.Model.VolumeUserInfoUserUploadedVolumeInfo.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.