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)



504
505
506
# File 'lib/kaltura_types.rb', line 504

def created_at
  @created_at
end

#descriptionObject

The description of the Flavor Params



501
502
503
# File 'lib/kaltura_types.rb', line 501

def description
  @description
end

#idObject

The id of the Flavor Params



491
492
493
# File 'lib/kaltura_types.rb', line 491

def id
  @id
end

#is_system_defaultObject

True if those Flavor Params are part of system defaults



507
508
509
# File 'lib/kaltura_types.rb', line 507

def is_system_default
  @is_system_default
end

#media_parser_typeObject

Media parser type to be used for post-conversion validation



522
523
524
# File 'lib/kaltura_types.rb', line 522

def media_parser_type
  @media_parser_type
end

#nameObject

The name of the Flavor Params



495
496
497
# File 'lib/kaltura_types.rb', line 495

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



492
493
494
# File 'lib/kaltura_types.rb', line 492

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



519
520
521
# File 'lib/kaltura_types.rb', line 519

def remote_storage_profile_ids
  @remote_storage_profile_ids
end

#required_permissionsObject

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



513
514
515
# File 'lib/kaltura_types.rb', line 513

def required_permissions
  @required_permissions
end

#source_asset_params_idsObject

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



525
526
527
# File 'lib/kaltura_types.rb', line 525

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



516
517
518
# File 'lib/kaltura_types.rb', line 516

def source_remote_storage_profile_id
  @source_remote_storage_profile_id
end

#system_nameObject

System name of the Flavor Params



498
499
500
# File 'lib/kaltura_types.rb', line 498

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)



510
511
512
# File 'lib/kaltura_types.rb', line 510

def tags
  @tags
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
# File 'lib/kaltura_types.rb', line 546

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