Class: Kaltura::KalturaEmailNotificationRecipient

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#emailObject

Recipient e-mail address



62
63
64
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 62

def email
  @email
end

#nameObject

Recipient name



64
65
66
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 64

def name
  @name
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



67
68
69
70
71
72
73
74
75
# File 'lib/kaltura_plugins/kaltura_email_notification_client_plugin.rb', line 67

def from_xml(xml_element)
	super
	if xml_element.elements['email'] != nil
		self.email = KalturaClientBase.object_from_xml(xml_element.elements['email'], 'KalturaStringValue')
	end
	if xml_element.elements['name'] != nil
		self.name = KalturaClientBase.object_from_xml(xml_element.elements['name'], 'KalturaStringValue')
	end
end