class Google::Apis::BooksV1::UserSettings::Notification
Attributes
match_my_interests[RW]
Corresponds to the JSON property `matchMyInterests` @return [Google::Apis::BooksV1::UserSettings::Notification::MatchMyInterests]
more_from_series[RW]
Corresponds to the JSON property `moreFromSeries` @return [Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries]
price_drop[RW]
Corresponds to the JSON property `priceDrop` @return [Google::Apis::BooksV1::UserSettings::Notification::PriceDrop]
reward_expirations[RW]
Corresponds to the JSON property `rewardExpirations` @return [Google::Apis::BooksV1::UserSettings::Notification::RewardExpirations]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 2886 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/books_v1/classes.rb, line 2891 def update!(**args) @match_my_interests = args[:match_my_interests] if args.key?(:match_my_interests) @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) @price_drop = args[:price_drop] if args.key?(:price_drop) @reward_expirations = args[:reward_expirations] if args.key?(:reward_expirations) end