Class: Kaltura::KalturaConfMaps
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaConfMaps
- Defined in:
- lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Ini file content.
-
#is_editable ⇒ Object
IsEditable - true / false.
-
#last_update ⇒ Object
Time of the last update.
-
#name ⇒ Object
Name of the map.
-
#related_host ⇒ Object
Regex that represent the host/s that this map affect.
-
#remarks ⇒ Object
Returns the value of attribute remarks.
-
#source_location ⇒ Object
Returns the value of attribute source_location.
-
#status ⇒ Object
map status.
-
#version ⇒ Object
Returns the value of attribute version.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#content ⇒ Object
Ini file content
41 42 43 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 41 def content @content end |
#is_editable ⇒ Object
IsEditable - true / false
43 44 45 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 43 def is_editable @is_editable end |
#last_update ⇒ Object
Time of the last update
45 46 47 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 45 def last_update @last_update end |
#name ⇒ Object
Name of the map
39 40 41 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 39 def name @name end |
#related_host ⇒ Object
Regex that represent the host/s that this map affect
47 48 49 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 47 def @related_host end |
#remarks ⇒ Object
Returns the value of attribute remarks.
50 51 52 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 50 def remarks @remarks end |
#source_location ⇒ Object
Returns the value of attribute source_location.
49 50 51 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 49 def source_location @source_location end |
#status ⇒ Object
map status
52 53 54 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 52 def status @status end |
#version ⇒ Object
Returns the value of attribute version.
48 49 50 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 48 def version @version end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 67 def from_xml(xml_element) super if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['content'] != nil self.content = xml_element.elements['content'].text end if xml_element.elements['isEditable'] != nil self.is_editable = xml_element.elements['isEditable'].text end if xml_element.elements['lastUpdate'] != nil self.last_update = xml_element.elements['lastUpdate'].text end if xml_element.elements['relatedHost'] != nil self. = xml_element.elements['relatedHost'].text end if xml_element.elements['version'] != nil self.version = xml_element.elements['version'].text end if xml_element.elements['sourceLocation'] != nil self.source_location = xml_element.elements['sourceLocation'].text end if xml_element.elements['remarks'] != nil self.remarks = xml_element.elements['remarks'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end end |