class Google::Apis::BooksV1::ReadingPosition
Attributes
Position in an EPUB as a CFI. Corresponds to the JSON property `epubCfiPosition` @return [String]
Position in a volume for image-based content. Corresponds to the JSON property `gbImagePosition` @return [String]
Position in a volume for text-based content. Corresponds to the JSON property `gbTextPosition` @return [String]
Resource type for a reading position. Corresponds to the JSON property `kind` @return [String]
Position in a PDF file. Corresponds to the JSON property `pdfPosition` @return [String]
Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution). Corresponds to the JSON property `updated` @return [DateTime]
Volume id associated with this reading position. Corresponds to the JSON property `volumeId` @return [String]
Public Class Methods
# File generated/google/apis/books_v1/classes.rb, line 2233 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/books_v1/classes.rb, line 2238 def update!(**args) @epub_cfi_position = args[:epub_cfi_position] if args.key?(:epub_cfi_position) @gb_image_position = args[:gb_image_position] if args.key?(:gb_image_position) @gb_text_position = args[:gb_text_position] if args.key?(:gb_text_position) @kind = args[:kind] if args.key?(:kind) @pdf_position = args[:pdf_position] if args.key?(:pdf_position) @updated = args[:updated] if args.key?(:updated) @volume_id = args[:volume_id] if args.key?(:volume_id) end