class Google::Apis::BooksV1::AnnotatinsRange

Attributes

end_offset[RW]

The offset from the ending position. Corresponds to the JSON property `endOffset` @return [String]

end_position[RW]

The ending position for the range. Corresponds to the JSON property `endPosition` @return [String]

start_offset[RW]

The offset from the starting position. Corresponds to the JSON property `startOffset` @return [String]

start_position[RW]

The starting position for the range. Corresponds to the JSON property `startPosition` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 430
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/books_v1/classes.rb, line 435
def update!(**args)
  @end_offset = args[:end_offset] if args.key?(:end_offset)
  @end_position = args[:end_position] if args.key?(:end_position)
  @start_offset = args[:start_offset] if args.key?(:start_offset)
  @start_position = args[:start_position] if args.key?(:start_position)
end