Class: Google::Apis::BooksV1::Annotation::ClientVersionRanges

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/books_v1/classes.rb,
generated/google/apis/books_v1/representations.rb,
generated/google/apis/books_v1/representations.rb

Overview

Selection ranges sent from the client.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClientVersionRanges

Returns a new instance of ClientVersionRanges.



171
172
173
# File 'generated/google/apis/books_v1/classes.rb', line 171

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cfi_rangeGoogle::Apis::BooksV1::AnnotatinsRange

Range in CFI format for this annotation sent by client. Corresponds to the JSON property cfiRange



149
150
151
# File 'generated/google/apis/books_v1/classes.rb', line 149

def cfi_range
  @cfi_range
end

#content_versionString

Content version the client sent in. Corresponds to the JSON property contentVersion

Returns:

  • (String)


154
155
156
# File 'generated/google/apis/books_v1/classes.rb', line 154

def content_version
  @content_version
end

#gb_image_rangeGoogle::Apis::BooksV1::AnnotatinsRange

Range in GB image format for this annotation sent by client. Corresponds to the JSON property gbImageRange



159
160
161
# File 'generated/google/apis/books_v1/classes.rb', line 159

def gb_image_range
  @gb_image_range
end

#gb_text_rangeGoogle::Apis::BooksV1::AnnotatinsRange

Range in GB text format for this annotation sent by client. Corresponds to the JSON property gbTextRange



164
165
166
# File 'generated/google/apis/books_v1/classes.rb', line 164

def gb_text_range
  @gb_text_range
end

#image_cfi_rangeGoogle::Apis::BooksV1::AnnotatinsRange

Range in image CFI format for this annotation sent by client. Corresponds to the JSON property imageCfiRange



169
170
171
# File 'generated/google/apis/books_v1/classes.rb', line 169

def image_cfi_range
  @image_cfi_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



176
177
178
179
180
181
182
# File 'generated/google/apis/books_v1/classes.rb', line 176

def update!(**args)
  @cfi_range = args[:cfi_range] if args.key?(:cfi_range)
  @content_version = args[:content_version] if args.key?(:content_version)
  @gb_image_range = args[:gb_image_range] if args.key?(:gb_image_range)
  @gb_text_range = args[:gb_text_range] if args.key?(:gb_text_range)
  @image_cfi_range = args[:image_cfi_range] if args.key?(:image_cfi_range)
end