Class: Google::Apis::BooksV1::Series::Series

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Series

Returns a new instance of Series



2543
2544
2545
# File 'generated/google/apis/books_v1/classes.rb', line 2543

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

Instance Attribute Details

Corresponds to the JSON property bannerImageUrl

Returns:

  • (String)


2521
2522
2523
# File 'generated/google/apis/books_v1/classes.rb', line 2521

def banner_image_url
  @banner_image_url
end

#image_urlString

Corresponds to the JSON property imageUrl

Returns:

  • (String)


2526
2527
2528
# File 'generated/google/apis/books_v1/classes.rb', line 2526

def image_url
  @image_url
end

#series_idString

Corresponds to the JSON property seriesId

Returns:

  • (String)


2531
2532
2533
# File 'generated/google/apis/books_v1/classes.rb', line 2531

def series_id
  @series_id
end

#series_typeString

Corresponds to the JSON property seriesType

Returns:

  • (String)


2536
2537
2538
# File 'generated/google/apis/books_v1/classes.rb', line 2536

def series_type
  @series_type
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


2541
2542
2543
# File 'generated/google/apis/books_v1/classes.rb', line 2541

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2548
2549
2550
2551
2552
2553
2554
# File 'generated/google/apis/books_v1/classes.rb', line 2548

def update!(**args)
  @banner_image_url = args[:banner_image_url] if args.key?(:banner_image_url)
  @image_url = args[:image_url] if args.key?(:image_url)
  @series_id = args[:series_id] if args.key?(:series_id)
  @series_type = args[:series_type] if args.key?(:series_type)
  @title = args[:title] if args.key?(:title)
end