Class: Kaltura::KalturaConfMaps
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaConfMaps
- Defined in:
- lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb
Instance Attribute Summary collapse
-
#change_description ⇒ Object
Returns the value of attribute change_description.
-
#content ⇒ Object
Ini file content.
-
#created_at ⇒ Object
Time of the last update.
-
#is_editable ⇒ Object
IsEditable - true / false.
-
#name ⇒ Object
Name of the map.
-
#raw_data ⇒ Object
Returns the value of attribute raw_data.
-
#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.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#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
#change_description ⇒ Object
Returns the value of attribute change_description.
55 56 57 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 55 def change_description @change_description end |
#content ⇒ Object
Ini file content
41 42 43 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 41 def content @content end |
#created_at ⇒ Object
Time of the last update
47 48 49 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 47 def created_at @created_at end |
#is_editable ⇒ Object
IsEditable - true / false
45 46 47 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 45 def is_editable @is_editable 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 |
#raw_data ⇒ Object
Returns the value of attribute raw_data.
42 43 44 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 42 def raw_data @raw_data end |
#related_host ⇒ Object
Regex that represent the host/s that this map affect
49 50 51 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 49 def @related_host end |
#remarks ⇒ Object
Returns the value of attribute remarks.
52 53 54 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 52 def remarks @remarks end |
#source_location ⇒ Object
Returns the value of attribute source_location.
51 52 53 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 51 def source_location @source_location end |
#status ⇒ Object
map status
54 55 56 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 54 def status @status end |
#user_id ⇒ Object
Returns the value of attribute user_id.
43 44 45 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 43 def user_id @user_id end |
#version ⇒ Object
Returns the value of attribute version.
50 51 52 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 50 def version @version end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
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 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 70 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['rawData'] != nil self.raw_data = xml_element.elements['rawData'].text end if xml_element.elements['userId'] != nil self.user_id = xml_element.elements['userId'].text end if xml_element.elements['isEditable'] != nil self.is_editable = xml_element.elements['isEditable'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].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 if xml_element.elements['changeDescription'] != nil self.change_description = xml_element.elements['changeDescription'].text end end |