Class: Kaltura::KalturaAsset

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

#actual_source_asset_params_idsObject

Comma separated list of source flavor params ids



596
597
598
# File 'lib/kaltura_types.rb', line 596

def actual_source_asset_params_ids
  @actual_source_asset_params_ids
end

#created_atObject

Returns the value of attribute created_at.



586
587
588
# File 'lib/kaltura_types.rb', line 586

def created_at
  @created_at
end

#deleted_atObject

Returns the value of attribute deleted_at.



588
589
590
# File 'lib/kaltura_types.rb', line 588

def deleted_at
  @deleted_at
end

#descriptionObject

System description, error message, warnings and failure cause.



590
591
592
# File 'lib/kaltura_types.rb', line 590

def description
  @description
end

#entry_idObject

The entry ID of the Flavor Asset



576
577
578
# File 'lib/kaltura_types.rb', line 576

def entry_id
  @entry_id
end

#file_extObject

The file extension



585
586
587
# File 'lib/kaltura_types.rb', line 585

def file_ext
  @file_ext
end

#idObject

The ID of the Flavor Asset



574
575
576
# File 'lib/kaltura_types.rb', line 574

def id
  @id
end

#partner_dataObject

Partner private data



592
593
594
# File 'lib/kaltura_types.rb', line 592

def partner_data
  @partner_data
end

#partner_descriptionObject

Partner friendly description



594
595
596
# File 'lib/kaltura_types.rb', line 594

def partner_description
  @partner_description
end

#partner_idObject

Returns the value of attribute partner_id.



577
578
579
# File 'lib/kaltura_types.rb', line 577

def partner_id
  @partner_id
end

#sizeObject

The size (in KBytes) of the Flavor Asset



581
582
583
# File 'lib/kaltura_types.rb', line 581

def size
  @size
end

#size_in_bytesObject

The size (in Bytes) of the asset



598
599
600
# File 'lib/kaltura_types.rb', line 598

def size_in_bytes
  @size_in_bytes
end

#tagsObject

Tags used to identify the Flavor Asset in various scenarios



583
584
585
# File 'lib/kaltura_types.rb', line 583

def tags
  @tags
end

#updated_atObject

Returns the value of attribute updated_at.



587
588
589
# File 'lib/kaltura_types.rb', line 587

def updated_at
  @updated_at
end

#versionObject

The version of the Flavor Asset



579
580
581
# File 'lib/kaltura_types.rb', line 579

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
# File 'lib/kaltura_types.rb', line 622

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['entryId'] != nil
		self.entry_id = xml_element.elements['entryId'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['version'] != nil
		self.version = xml_element.elements['version'].text
	end
	if xml_element.elements['size'] != nil
		self.size = xml_element.elements['size'].text
	end
	if xml_element.elements['tags'] != nil
		self.tags = xml_element.elements['tags'].text
	end
	if xml_element.elements['fileExt'] != nil
		self.file_ext = xml_element.elements['fileExt'].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
	if xml_element.elements['deletedAt'] != nil
		self.deleted_at = xml_element.elements['deletedAt'].text
	end
	if xml_element.elements['description'] != nil
		self.description = xml_element.elements['description'].text
	end
	if xml_element.elements['partnerData'] != nil
		self.partner_data = xml_element.elements['partnerData'].text
	end
	if xml_element.elements['partnerDescription'] != nil
		self.partner_description = xml_element.elements['partnerDescription'].text
	end
	if xml_element.elements['actualSourceAssetParamsIds'] != nil
		self.actual_source_asset_params_ids = xml_element.elements['actualSourceAssetParamsIds'].text
	end
	if xml_element.elements['sizeInBytes'] != nil
		self.size_in_bytes = xml_element.elements['sizeInBytes'].text
	end
end