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

Defined Under Namespace

Classes: SeriesSubscriptionReleaseInfo

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.



2647
2648
2649
# File 'generated/google/apis/books_v1/classes.rb', line 2647

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

Instance Attribute Details

Corresponds to the JSON property bannerImageUrl

Returns:

  • (String)


2598
2599
2600
# File 'generated/google/apis/books_v1/classes.rb', line 2598

def banner_image_url
  @banner_image_url
end

#eligible_for_subscriptionBoolean Also known as: eligible_for_subscription?

Corresponds to the JSON property eligibleForSubscription

Returns:

  • (Boolean)


2603
2604
2605
# File 'generated/google/apis/books_v1/classes.rb', line 2603

def eligible_for_subscription
  @eligible_for_subscription
end

#image_urlString

Corresponds to the JSON property imageUrl

Returns:

  • (String)


2609
2610
2611
# File 'generated/google/apis/books_v1/classes.rb', line 2609

def image_url
  @image_url
end

#is_completeBoolean Also known as: is_complete?

Corresponds to the JSON property isComplete

Returns:

  • (Boolean)


2614
2615
2616
# File 'generated/google/apis/books_v1/classes.rb', line 2614

def is_complete
  @is_complete
end

#series_format_typeString

Corresponds to the JSON property seriesFormatType

Returns:

  • (String)


2620
2621
2622
# File 'generated/google/apis/books_v1/classes.rb', line 2620

def series_format_type
  @series_format_type
end

#series_idString

Corresponds to the JSON property seriesId

Returns:

  • (String)


2625
2626
2627
# File 'generated/google/apis/books_v1/classes.rb', line 2625

def series_id
  @series_id
end

#series_subscription_release_infoGoogle::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo

Corresponds to the JSON property seriesSubscriptionReleaseInfo



2630
2631
2632
# File 'generated/google/apis/books_v1/classes.rb', line 2630

def series_subscription_release_info
  @series_subscription_release_info
end

#series_typeString

Corresponds to the JSON property seriesType

Returns:

  • (String)


2635
2636
2637
# File 'generated/google/apis/books_v1/classes.rb', line 2635

def series_type
  @series_type
end

#subscription_idString

Corresponds to the JSON property subscriptionId

Returns:

  • (String)


2640
2641
2642
# File 'generated/google/apis/books_v1/classes.rb', line 2640

def subscription_id
  @subscription_id
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


2645
2646
2647
# File 'generated/google/apis/books_v1/classes.rb', line 2645

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
# File 'generated/google/apis/books_v1/classes.rb', line 2652

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