Class: Kaltura::KalturaConfMaps

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_conf_maps_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

#change_descriptionObject

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

#contentObject

Ini file content



41
42
43
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 41

def content
  @content
end

#created_atObject

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_editableObject

IsEditable - true / false



45
46
47
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 45

def is_editable
  @is_editable
end

#nameObject

Name of the map



39
40
41
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 39

def name
  @name
end

#raw_dataObject

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

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
  @related_host
end

#remarksObject

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_locationObject

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

#statusObject

map status



54
55
56
# File 'lib/kaltura_plugins/kaltura_conf_maps_client_plugin.rb', line 54

def status
  @status
end

#user_idObject

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

#versionObject

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.related_host = 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