Class: Google::Apis::BooksV1::Annotations
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BooksV1::Annotations
 
 
- 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 
Instance Attribute Summary collapse
- 
  
    
      #items  ⇒ Array<Google::Apis::BooksV1::Annotation> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of annotations.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Resource type.
 - 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Token to pass in for pagination for the next page.
 - 
  
    
      #total_items  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Total number of annotations found.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Annotations 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Annotations.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Annotations
Returns a new instance of Annotations
      356 357 358  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 356 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#items ⇒ Array<Google::Apis::BooksV1::Annotation>
A list of annotations.
Corresponds to the JSON property items
      337 338 339  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 337 def items @items end  | 
  
#kind ⇒ String
Resource type.
Corresponds to the JSON property kind
      342 343 344  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 342 def kind @kind end  | 
  
#next_page_token ⇒ String
Token to pass in for pagination for the next page. This will not be present if
this request does not have more results.
Corresponds to the JSON property nextPageToken
      348 349 350  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 348 def next_page_token @next_page_token end  | 
  
#total_items ⇒ Fixnum
Total number of annotations found. This may be greater than the number of
notes returned in this response if results have been paginated.
Corresponds to the JSON property totalItems
      354 355 356  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 354 def total_items @total_items end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      361 362 363 364 365 366  | 
    
      # File 'generated/google/apis/books_v1/classes.rb', line 361 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_items = args[:total_items] if args.key?(:total_items) end  |