Class: Kaltura::KalturaGenericDistributionProvider
- Inherits:
-
KalturaDistributionProvider
- Object
- KalturaObjectBase
- KalturaDistributionProvider
- Kaltura::KalturaGenericDistributionProvider
- Defined in:
- lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Generic distribution provider creation date as Unix timestamp (In seconds).
-
#editable_fields ⇒ Object
Returns the value of attribute editable_fields.
-
#id ⇒ Object
Auto generated.
-
#is_default ⇒ Object
Returns the value of attribute is_default.
-
#mandatory_fields ⇒ Object
Returns the value of attribute mandatory_fields.
-
#optional_flavor_params_ids ⇒ Object
Returns the value of attribute optional_flavor_params_ids.
-
#optional_thumb_dimensions ⇒ Object
Returns the value of attribute optional_thumb_dimensions.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#required_flavor_params_ids ⇒ Object
Returns the value of attribute required_flavor_params_ids.
-
#required_thumb_dimensions ⇒ Object
Returns the value of attribute required_thumb_dimensions.
-
#status ⇒ Object
Returns the value of attribute status.
-
#updated_at ⇒ Object
Generic distribution provider last update date as Unix timestamp (In seconds).
Attributes inherited from KalturaDistributionProvider
#availability_update_enabled, #delete_instead_update, #interval_before_sunrise, #interval_before_sunset, #name, #schedule_update_enabled, #type, #update_required_entry_fields, #update_required_metadata_xpaths
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#created_at ⇒ Object
Generic distribution provider creation date as Unix timestamp (In seconds)
774 775 776 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 774 def created_at @created_at end |
#editable_fields ⇒ Object
Returns the value of attribute editable_fields.
785 786 787 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 785 def editable_fields @editable_fields end |
#id ⇒ Object
Auto generated
771 772 773 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 771 def id @id end |
#is_default ⇒ Object
Returns the value of attribute is_default.
779 780 781 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 779 def is_default @is_default end |
#mandatory_fields ⇒ Object
Returns the value of attribute mandatory_fields.
786 787 788 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 786 def mandatory_fields @mandatory_fields end |
#optional_flavor_params_ids ⇒ Object
Returns the value of attribute optional_flavor_params_ids.
781 782 783 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 781 def optional_flavor_params_ids @optional_flavor_params_ids end |
#optional_thumb_dimensions ⇒ Object
Returns the value of attribute optional_thumb_dimensions.
783 784 785 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 783 def optional_thumb_dimensions @optional_thumb_dimensions end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
778 779 780 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 778 def partner_id @partner_id end |
#required_flavor_params_ids ⇒ Object
Returns the value of attribute required_flavor_params_ids.
782 783 784 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 782 def required_flavor_params_ids @required_flavor_params_ids end |
#required_thumb_dimensions ⇒ Object
Returns the value of attribute required_thumb_dimensions.
784 785 786 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 784 def required_thumb_dimensions @required_thumb_dimensions end |
#status ⇒ Object
Returns the value of attribute status.
780 781 782 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 780 def status @status end |
#updated_at ⇒ Object
Generic distribution provider last update date as Unix timestamp (In seconds)
777 778 779 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 777 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 807 def from_xml(xml_element) super self.id = xml_element.elements['id'].text self.created_at = xml_element.elements['createdAt'].text self.updated_at = xml_element.elements['updatedAt'].text self.partner_id = xml_element.elements['partnerId'].text self.is_default = xml_element.elements['isDefault'].text self.status = xml_element.elements['status'].text self.optional_flavor_params_ids = xml_element.elements['optionalFlavorParamsIds'].text self.required_flavor_params_ids = xml_element.elements['requiredFlavorParamsIds'].text self.optional_thumb_dimensions = KalturaClientBase.object_from_xml(xml_element.elements['optionalThumbDimensions'], 'KalturaDistributionThumbDimensions') self.required_thumb_dimensions = KalturaClientBase.object_from_xml(xml_element.elements['requiredThumbDimensions'], 'KalturaDistributionThumbDimensions') self.editable_fields = xml_element.elements['editableFields'].text self.mandatory_fields = xml_element.elements['mandatoryFields'].text end |