Class: Kaltura::KalturaAssetParams
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaAssetParams
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaAssetParamsOutput, KalturaCaptionParams, KalturaFlavorParams, KalturaThumbParams
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds).
-
#description ⇒ Object
The description of the Flavor Params.
-
#id ⇒ Object
The id of the Flavor Params.
-
#is_system_default ⇒ Object
True if those Flavor Params are part of system defaults.
-
#media_parser_type ⇒ Object
Media parser type to be used for post-conversion validation.
-
#name ⇒ Object
The name of the Flavor Params.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#remote_storage_profile_ids ⇒ Object
Comma seperated ids of remote storage profiles that the flavor distributed to, the distribution done by the conversion engine.
-
#required_permissions ⇒ Object
Array of partner permisison names that required for using this asset params.
-
#source_asset_params_ids ⇒ Object
Comma seperated ids of source flavor params this flavor is created from.
-
#source_remote_storage_profile_id ⇒ Object
Id of remote storage profile that used to get the source, zero indicates Kaltura data center.
-
#system_name ⇒ Object
System name of the Flavor Params.
-
#tags ⇒ Object
The Flavor Params tags are used to identify the flavor for different usage (e.g. web, hd, mobile).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds)
504 505 506 |
# File 'lib/kaltura_types.rb', line 504 def created_at @created_at end |
#description ⇒ Object
The description of the Flavor Params
501 502 503 |
# File 'lib/kaltura_types.rb', line 501 def description @description end |
#id ⇒ Object
The id of the Flavor Params
491 492 493 |
# File 'lib/kaltura_types.rb', line 491 def id @id end |
#is_system_default ⇒ Object
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_type ⇒ Object
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 |
#name ⇒ Object
The name of the Flavor Params
495 496 497 |
# File 'lib/kaltura_types.rb', line 495 def name @name end |
#partner_id ⇒ Object
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_ids ⇒ Object
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_permissions ⇒ Object
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 end |
#source_asset_params_ids ⇒ Object
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_id ⇒ Object
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_name ⇒ Object
System name of the Flavor Params
498 499 500 |
# File 'lib/kaltura_types.rb', line 498 def system_name @system_name end |
#tags ⇒ Object
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 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. = xml_element.elements['tags'].text self. = 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 |