Class: Google::Apis::BooksV1::AnnotationsData
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BooksV1::AnnotationsData
 
- 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::AnnotationData> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of Annotation Data. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource type Corresponds to the JSON property kind.
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Token to pass in for pagination for the next page. 
- 
  
    
      #total_items  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The total number of volume annotations found. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AnnotationsData 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AnnotationsData. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AnnotationsData
Returns a new instance of AnnotationsData
| 462 463 464 | # File 'generated/google/apis/books_v1/classes.rb', line 462 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#items ⇒ Array<Google::Apis::BooksV1::AnnotationData>
A list of Annotation Data.
Corresponds to the JSON property items
| 444 445 446 | # File 'generated/google/apis/books_v1/classes.rb', line 444 def items @items end | 
#kind ⇒ String
Resource type
Corresponds to the JSON property kind
| 449 450 451 | # File 'generated/google/apis/books_v1/classes.rb', line 449 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
| 455 456 457 | # File 'generated/google/apis/books_v1/classes.rb', line 455 def next_page_token @next_page_token end | 
#total_items ⇒ Fixnum
The total number of volume annotations found.
Corresponds to the JSON property totalItems
| 460 461 462 | # File 'generated/google/apis/books_v1/classes.rb', line 460 def total_items @total_items end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 467 468 469 470 471 472 | # File 'generated/google/apis/books_v1/classes.rb', line 467 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 |