Class: Google::Apis::BooksV1::UserSettings::Notification
- Inherits:
-
Object
- Object
- Google::Apis::BooksV1::UserSettings::Notification
- 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: MoreFromAuthors, MoreFromSeries, RewardExpirations
Instance Attribute Summary collapse
-
#more_from_authors ⇒ Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors
Corresponds to the JSON property
moreFromAuthors
. -
#more_from_series ⇒ Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries
Corresponds to the JSON property
moreFromSeries
. -
#reward_expirations ⇒ Google::Apis::BooksV1::UserSettings::Notification::RewardExpirations
Corresponds to the JSON property
rewardExpirations
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Notification
constructor
A new instance of Notification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Notification
Returns a new instance of Notification
2588 2589 2590 |
# File 'generated/google/apis/books_v1/classes.rb', line 2588 def initialize(**args) update!(**args) end |
Instance Attribute Details
#more_from_authors ⇒ Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors
Corresponds to the JSON property moreFromAuthors
2576 2577 2578 |
# File 'generated/google/apis/books_v1/classes.rb', line 2576 def @more_from_authors end |
#more_from_series ⇒ Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries
Corresponds to the JSON property moreFromSeries
2581 2582 2583 |
# File 'generated/google/apis/books_v1/classes.rb', line 2581 def more_from_series @more_from_series end |
#reward_expirations ⇒ Google::Apis::BooksV1::UserSettings::Notification::RewardExpirations
Corresponds to the JSON property rewardExpirations
2586 2587 2588 |
# File 'generated/google/apis/books_v1/classes.rb', line 2586 def reward_expirations @reward_expirations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2593 2594 2595 2596 2597 |
# File 'generated/google/apis/books_v1/classes.rb', line 2593 def update!(**args) @more_from_authors = args[:more_from_authors] if args.key?(:more_from_authors) @more_from_series = args[:more_from_series] if args.key?(:more_from_series) @reward_expirations = args[:reward_expirations] if args.key?(:reward_expirations) end |