Class: Google::Apis::Messages::WebNotification

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/messages/classes.rb,
lib/google/apis/messages/representations.rb

Defined Under Namespace

Classes: Representation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WebNotification

Returns a new instance of WebNotification.



130
131
132
# File 'lib/google/apis/messages/classes.rb', line 130

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

Instance Attribute Details

#iconObject

Returns the value of attribute icon.



128
129
130
# File 'lib/google/apis/messages/classes.rb', line 128

def icon
  @icon
end

Instance Method Details

#update!(**args) ⇒ Object



134
135
136
# File 'lib/google/apis/messages/classes.rb', line 134

def update!(**args)
  @icon = args[:icon] if args.key?(:icon)
end