class Google::Apis::BooksV1::Notification

Attributes

body[RW]

Corresponds to the JSON property `body` @return [String]

crm_experiment_ids[RW]

The list of crm experiment ids. Corresponds to the JSON property `crmExperimentIds` @return [Array<Fixnum>]

doc_id[RW]

Corresponds to the JSON property `doc_id` @return [String]

doc_type[RW]

Corresponds to the JSON property `doc_type` @return [String]

dont_show_notification[RW]

Corresponds to the JSON property `dont_show_notification` @return [Boolean]

dont_show_notification?[RW]

Corresponds to the JSON property `dont_show_notification` @return [Boolean]

icon_url[RW]

Corresponds to the JSON property `iconUrl` @return [String]

is_document_mature[RW]

Corresponds to the JSON property `is_document_mature` @return [Boolean]

is_document_mature?[RW]

Corresponds to the JSON property `is_document_mature` @return [Boolean]

kind[RW]

Resource type. Corresponds to the JSON property `kind` @return [String]

notification_group[RW]

Corresponds to the JSON property `notificationGroup` @return [String]

notification_type[RW]

Corresponds to the JSON property `notification_type` @return [String]

pcampaign_id[RW]

Corresponds to the JSON property `pcampaign_id` @return [String]

reason[RW]

Corresponds to the JSON property `reason` @return [String]

show_notification_settings_action[RW]

Corresponds to the JSON property `show_notification_settings_action` @return [Boolean]

show_notification_settings_action?[RW]

Corresponds to the JSON property `show_notification_settings_action` @return [Boolean]

target_url[RW]

Corresponds to the JSON property `targetUrl` @return [String]

time_to_expire_ms[RW]

Corresponds to the JSON property `timeToExpireMs` @return [Fixnum]

title[RW]

Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 2209
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 2214
def update!(**args)
  @body = args[:body] if args.key?(:body)
  @crm_experiment_ids = args[:crm_experiment_ids] if args.key?(:crm_experiment_ids)
  @doc_id = args[:doc_id] if args.key?(:doc_id)
  @doc_type = args[:doc_type] if args.key?(:doc_type)
  @dont_show_notification = args[:dont_show_notification] if args.key?(:dont_show_notification)
  @icon_url = args[:icon_url] if args.key?(:icon_url)
  @is_document_mature = args[:is_document_mature] if args.key?(:is_document_mature)
  @kind = args[:kind] if args.key?(:kind)
  @notification_group = args[:notification_group] if args.key?(:notification_group)
  @notification_type = args[:notification_type] if args.key?(:notification_type)
  @pcampaign_id = args[:pcampaign_id] if args.key?(:pcampaign_id)
  @reason = args[:reason] if args.key?(:reason)
  @show_notification_settings_action = args[:show_notification_settings_action] if args.key?(:show_notification_settings_action)
  @target_url = args[:target_url] if args.key?(:target_url)
  @time_to_expire_ms = args[:time_to_expire_ms] if args.key?(:time_to_expire_ms)
  @title = args[:title] if args.key?(:title)
end