Class: Kaltura::KalturaAssetParams

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

#created_atObject

Creation date as Unix timestamp (In seconds)



698
699
700
# File 'lib/kaltura_types.rb', line 698

def created_at
  @created_at
end

#descriptionObject

The description of the Flavor Params



696
697
698
# File 'lib/kaltura_types.rb', line 696

def description
  @description
end

#idObject

The id of the Flavor Params



689
690
691
# File 'lib/kaltura_types.rb', line 689

def id
  @id
end

#is_system_defaultObject

True if those Flavor Params are part of system defaults



700
701
702
# File 'lib/kaltura_types.rb', line 700

def is_system_default
  @is_system_default
end

#media_parser_typeObject

Media parser type to be used for post-conversion validation



710
711
712
# File 'lib/kaltura_types.rb', line 710

def media_parser_type
  @media_parser_type
end

#nameObject

The name of the Flavor Params



692
693
694
# File 'lib/kaltura_types.rb', line 692

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



690
691
692
# File 'lib/kaltura_types.rb', line 690

def partner_id
  @partner_id
end

#remote_storage_profile_idsObject

Comma seperated ids of remote storage profiles that the flavor distributed to, the distribution done by the conversion engine



708
709
710
# File 'lib/kaltura_types.rb', line 708

def remote_storage_profile_ids
  @remote_storage_profile_ids
end

#required_permissionsObject

Array of partner permisison names that required for using this asset params



704
705
706
# File 'lib/kaltura_types.rb', line 704

def required_permissions
  @required_permissions
end

#source_asset_params_idsObject

Comma seperated ids of source flavor params this flavor is created from



712
713
714
# File 'lib/kaltura_types.rb', line 712

def source_asset_params_ids
  @source_asset_params_ids
end

#source_remote_storage_profile_idObject

Id of remote storage profile that used to get the source, zero indicates Kaltura data center



706
707
708
# File 'lib/kaltura_types.rb', line 706

def source_remote_storage_profile_id
  @source_remote_storage_profile_id
end

#system_nameObject

System name of the Flavor Params



694
695
696
# File 'lib/kaltura_types.rb', line 694

def system_name
  @system_name
end

#tagsObject

The Flavor Params tags are used to identify the flavor for different usage (e.g. web, hd, mobile)



702
703
704
# File 'lib/kaltura_types.rb', line 702

def tags
  @tags
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
# File 'lib/kaltura_types.rb', line 733

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['name'] != nil
		self.name = xml_element.elements['name'].text
	end
	if xml_element.elements['systemName'] != nil
		self.system_name = xml_element.elements['systemName'].text
	end
	if xml_element.elements['description'] != nil
		self.description = xml_element.elements['description'].text
	end
	if xml_element.elements['createdAt'] != nil
		self.created_at = xml_element.elements['createdAt'].text
	end
	if xml_element.elements['isSystemDefault'] != nil
		self.is_system_default = xml_element.elements['isSystemDefault'].text
	end
	if xml_element.elements['tags'] != nil
		self.tags = xml_element.elements['tags'].text
	end
	if xml_element.elements['requiredPermissions'] != nil
		self.required_permissions = KalturaClientBase.object_from_xml(xml_element.elements['requiredPermissions'], 'KalturaString')
	end
	if xml_element.elements['sourceRemoteStorageProfileId'] != nil
		self.source_remote_storage_profile_id = xml_element.elements['sourceRemoteStorageProfileId'].text
	end
	if xml_element.elements['remoteStorageProfileIds'] != nil
		self.remote_storage_profile_ids = xml_element.elements['remoteStorageProfileIds'].text
	end
	if xml_element.elements['mediaParserType'] != nil
		self.media_parser_type = xml_element.elements['mediaParserType'].text
	end
	if xml_element.elements['sourceAssetParamsIds'] != nil
		self.source_asset_params_ids = xml_element.elements['sourceAssetParamsIds'].text
	end
end