Class: Kaltura::KalturaAsset
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaAsset
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaAttachmentAsset, KalturaCaptionAsset, KalturaFlavorAsset, KalturaThumbAsset
Instance Attribute Summary collapse
-
#actual_source_asset_params_ids ⇒ Object
Comma separated list of source flavor params ids.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#deleted_at ⇒ Object
Returns the value of attribute deleted_at.
-
#description ⇒ Object
System description, error message, warnings and failure cause.
-
#entry_id ⇒ Object
The entry ID of the Flavor Asset.
-
#file_ext ⇒ Object
The file extension.
-
#id ⇒ Object
The ID of the Flavor Asset.
-
#partner_data ⇒ Object
Partner private data.
-
#partner_description ⇒ Object
Partner friendly description.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#size ⇒ Object
The size (in KBytes) of the Flavor Asset.
-
#tags ⇒ Object
Tags used to identify the Flavor Asset in various scenarios.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#version ⇒ Object
The version of the Flavor Asset.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#actual_source_asset_params_ids ⇒ Object
Comma separated list of source flavor params ids
434 435 436 |
# File 'lib/kaltura_types.rb', line 434 def actual_source_asset_params_ids @actual_source_asset_params_ids end |
#created_at ⇒ Object
Returns the value of attribute created_at.
420 421 422 |
# File 'lib/kaltura_types.rb', line 420 def created_at @created_at end |
#deleted_at ⇒ Object
Returns the value of attribute deleted_at.
422 423 424 |
# File 'lib/kaltura_types.rb', line 422 def deleted_at @deleted_at end |
#description ⇒ Object
System description, error message, warnings and failure cause.
425 426 427 |
# File 'lib/kaltura_types.rb', line 425 def description @description end |
#entry_id ⇒ Object
The entry ID of the Flavor Asset
406 407 408 |
# File 'lib/kaltura_types.rb', line 406 def entry_id @entry_id end |
#file_ext ⇒ Object
The file extension
419 420 421 |
# File 'lib/kaltura_types.rb', line 419 def file_ext @file_ext end |
#id ⇒ Object
The ID of the Flavor Asset
403 404 405 |
# File 'lib/kaltura_types.rb', line 403 def id @id end |
#partner_data ⇒ Object
Partner private data
428 429 430 |
# File 'lib/kaltura_types.rb', line 428 def partner_data @partner_data end |
#partner_description ⇒ Object
Partner friendly description
431 432 433 |
# File 'lib/kaltura_types.rb', line 431 def partner_description @partner_description end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
407 408 409 |
# File 'lib/kaltura_types.rb', line 407 def partner_id @partner_id end |
#size ⇒ Object
The size (in KBytes) of the Flavor Asset
413 414 415 |
# File 'lib/kaltura_types.rb', line 413 def size @size end |
#tags ⇒ Object
Tags used to identify the Flavor Asset in various scenarios
416 417 418 |
# File 'lib/kaltura_types.rb', line 416 def @tags end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
421 422 423 |
# File 'lib/kaltura_types.rb', line 421 def updated_at @updated_at end |
#version ⇒ Object
The version of the Flavor Asset
410 411 412 |
# File 'lib/kaltura_types.rb', line 410 def version @version end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 |
# File 'lib/kaltura_types.rb', line 455 def from_xml(xml_element) super self.id = xml_element.elements['id'].text self.entry_id = xml_element.elements['entryId'].text self.partner_id = xml_element.elements['partnerId'].text self.version = xml_element.elements['version'].text self.size = xml_element.elements['size'].text self. = xml_element.elements['tags'].text self.file_ext = xml_element.elements['fileExt'].text self.created_at = xml_element.elements['createdAt'].text self.updated_at = xml_element.elements['updatedAt'].text self.deleted_at = xml_element.elements['deletedAt'].text self.description = xml_element.elements['description'].text self.partner_data = xml_element.elements['partnerData'].text self.partner_description = xml_element.elements['partnerDescription'].text self.actual_source_asset_params_ids = xml_element.elements['actualSourceAssetParamsIds'].text end |