Class: Kaltura::KalturaTag

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

#created_atObject

Returns the value of attribute created_at.



38
39
40
# File 'lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb', line 38

def created_at
  @created_at
end

#idObject

Returns the value of attribute id.



33
34
35
# File 'lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb', line 33

def id
  @id
end

#instance_countObject

Returns the value of attribute instance_count.



37
38
39
# File 'lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb', line 37

def instance_count
  @instance_count
end

#partner_idObject

Returns the value of attribute partner_id.



36
37
38
# File 'lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb', line 36

def partner_id
  @partner_id
end

#tagObject

Returns the value of attribute tag.



34
35
36
# File 'lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb', line 34

def tag
  @tag
end

#tagged_object_typeObject

Returns the value of attribute tagged_object_type.



35
36
37
# File 'lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb', line 35

def tagged_object_type
  @tagged_object_type
end

#updated_atObject

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/kaltura_plugins/kaltura_tag_search_client_plugin.rb', line 57

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['tag'] != nil
		self.tag = xml_element.elements['tag'].text
	end
	if xml_element.elements['taggedObjectType'] != nil
		self.tagged_object_type = xml_element.elements['taggedObjectType'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['instanceCount'] != nil
		self.instance_count = xml_element.elements['instanceCount'].text
	end
	if xml_element.elements['createdAt'] != nil
		self.created_at = xml_element.elements['createdAt'].text
	end
	if xml_element.elements['updatedAt'] != nil
		self.updated_at = xml_element.elements['updatedAt'].text
	end
end