Class: Kaltura::KalturaSipEntryServerNode

Inherits:
KalturaEntryServerNode show all
Defined in:
lib/kaltura_plugins/kaltura_sip_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaEntryServerNode

#created_at, #entry_id, #id, #partner_id, #server_node_id, #server_type, #status, #updated_at

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#sip_primary_adp_idObject

Returns the value of attribute sip_primary_adp_id.



49
50
51
# File 'lib/kaltura_plugins/kaltura_sip_client_plugin.rb', line 49

def sip_primary_adp_id
  @sip_primary_adp_id
end

#sip_room_idObject

Returns the value of attribute sip_room_id.



48
49
50
# File 'lib/kaltura_plugins/kaltura_sip_client_plugin.rb', line 48

def sip_room_id
  @sip_room_id
end

#sip_secondary_adp_idObject

Returns the value of attribute sip_secondary_adp_id.



50
51
52
# File 'lib/kaltura_plugins/kaltura_sip_client_plugin.rb', line 50

def sip_secondary_adp_id
  @sip_secondary_adp_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/kaltura_plugins/kaltura_sip_client_plugin.rb', line 53

def from_xml(xml_element)
	super
	if xml_element.elements['sipRoomId'] != nil
		self.sip_room_id = xml_element.elements['sipRoomId'].text
	end
	if xml_element.elements['sipPrimaryAdpId'] != nil
		self.sip_primary_adp_id = xml_element.elements['sipPrimaryAdpId'].text
	end
	if xml_element.elements['sipSecondaryAdpId'] != nil
		self.sip_secondary_adp_id = xml_element.elements['sipSecondaryAdpId'].text
	end
end