Class: Google::Apis::BooksV1::Discoveryclusters::Cluster
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BooksV1::Discoveryclusters::Cluster
 
- 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
Defined Under Namespace
Classes: BannerWithContentContainer
Instance Attribute Summary collapse
- 
  
    
      #banner_with_content_container  ⇒ Google::Apis::BooksV1::Discoveryclusters::Cluster::BannerWithContentContainer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property banner_with_content_container.
- 
  
    
      #sub_title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property subTitle.
- 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property title.
- 
  
    
      #total_volumes  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property totalVolumes.
- 
  
    
      #uid  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property uid.
- 
  
    
      #volumes  ⇒ Array<Google::Apis::BooksV1::Volume> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property volumes.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Cluster 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Cluster. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Cluster
Returns a new instance of Cluster
| 1372 1373 1374 | # File 'generated/google/apis/books_v1/classes.rb', line 1372 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#banner_with_content_container ⇒ Google::Apis::BooksV1::Discoveryclusters::Cluster::BannerWithContentContainer
Corresponds to the JSON property banner_with_content_container
| 1345 1346 1347 | # File 'generated/google/apis/books_v1/classes.rb', line 1345 def @banner_with_content_container end | 
#sub_title ⇒ String
Corresponds to the JSON property subTitle
| 1350 1351 1352 | # File 'generated/google/apis/books_v1/classes.rb', line 1350 def sub_title @sub_title end | 
#title ⇒ String
Corresponds to the JSON property title
| 1355 1356 1357 | # File 'generated/google/apis/books_v1/classes.rb', line 1355 def title @title end | 
#total_volumes ⇒ Fixnum
Corresponds to the JSON property totalVolumes
| 1360 1361 1362 | # File 'generated/google/apis/books_v1/classes.rb', line 1360 def total_volumes @total_volumes end | 
#uid ⇒ String
Corresponds to the JSON property uid
| 1365 1366 1367 | # File 'generated/google/apis/books_v1/classes.rb', line 1365 def uid @uid end | 
#volumes ⇒ Array<Google::Apis::BooksV1::Volume>
Corresponds to the JSON property volumes
| 1370 1371 1372 | # File 'generated/google/apis/books_v1/classes.rb', line 1370 def volumes @volumes end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1377 1378 1379 1380 1381 1382 1383 1384 | # File 'generated/google/apis/books_v1/classes.rb', line 1377 def update!(**args) @banner_with_content_container = args[:banner_with_content_container] if args.key?(:banner_with_content_container) @sub_title = args[:sub_title] if args.key?(:sub_title) @title = args[:title] if args.key?(:title) @total_volumes = args[:total_volumes] if args.key?(:total_volumes) @uid = args[:uid] if args.key?(:uid) @volumes = args[:volumes] if args.key?(:volumes) end |