Class: Kaltura::KalturaDocumentEntry

Inherits:
KalturaBaseEntry show all
Defined in:
lib/kaltura_plugins/kaltura_document_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaBaseEntry

#access_control_id, #admin_tags, #application, #application_version, #block_auto_transcript, #capabilities, #categories, #categories_ids, #conversion_profile_id, #created_at, #creator_id, #description, #display_in_search, #download_url, #end_date, #entitled_users_edit, #entitled_users_publish, #entitled_users_view, #group_id, #id, #license_type, #moderation_count, #moderation_status, #multi_lingual_description, #multi_lingual_name, #multi_lingual_tags, #name, #operation_attributes, #parent_entry_id, #partner_data, #partner_id, #partner_sort_value, #rank, #redirect_entry_id, #reference_id, #replaced_entry_id, #replacement_status, #replacing_entry_id, #root_entry_id, #search_text, #start_date, #status, #tags, #template_entry_id, #thumbnail_url, #total_rank, #type, #updated_at, #user_id, #version, #votes

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#asset_params_idsObject

Comma separated asset params ids that exists for this media entry



91
92
93
# File 'lib/kaltura_plugins/kaltura_document_client_plugin.rb', line 91

def asset_params_ids
  @asset_params_ids
end

#document_typeObject

The type of the document



89
90
91
# File 'lib/kaltura_plugins/kaltura_document_client_plugin.rb', line 89

def document_type
  @document_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



97
98
99
100
101
102
103
104
105
# File 'lib/kaltura_plugins/kaltura_document_client_plugin.rb', line 97

def from_xml(xml_element)
	super
	if xml_element.elements['documentType'] != nil
		self.document_type = xml_element.elements['documentType'].text
	end
	if xml_element.elements['assetParamsIds'] != nil
		self.asset_params_ids = xml_element.elements['assetParamsIds'].text
	end
end