Class: Kaltura::KalturaSipEntryServerNode
- Inherits:
-
KalturaEntryServerNode
- Object
- KalturaObjectBase
- KalturaEntryServerNode
- Kaltura::KalturaSipEntryServerNode
- Defined in:
- lib/kaltura_plugins/kaltura_sip_client_plugin.rb
Instance Attribute Summary collapse
-
#sip_primary_adp_id ⇒ Object
Returns the value of attribute sip_primary_adp_id.
-
#sip_room_id ⇒ Object
Returns the value of attribute sip_room_id.
-
#sip_secondary_adp_id ⇒ Object
Returns the value of attribute sip_secondary_adp_id.
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
Instance Attribute Details
#sip_primary_adp_id ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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 |