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)
972 973 974 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 972 def created_at @created_at end |
#editable_fields ⇒ Object
Returns the value of attribute editable_fields.
982 983 984 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 982 def editable_fields @editable_fields end |
#id ⇒ Object
Auto generated
970 971 972 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 970 def id @id end |
#is_default ⇒ Object
Returns the value of attribute is_default.
976 977 978 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 976 def is_default @is_default end |
#mandatory_fields ⇒ Object
Returns the value of attribute mandatory_fields.
983 984 985 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 983 def mandatory_fields @mandatory_fields end |
#optional_flavor_params_ids ⇒ Object
Returns the value of attribute optional_flavor_params_ids.
978 979 980 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 978 def optional_flavor_params_ids @optional_flavor_params_ids end |
#optional_thumb_dimensions ⇒ Object
Returns the value of attribute optional_thumb_dimensions.
980 981 982 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 980 def optional_thumb_dimensions @optional_thumb_dimensions end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
975 976 977 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 975 def partner_id @partner_id end |
#required_flavor_params_ids ⇒ Object
Returns the value of attribute required_flavor_params_ids.
979 980 981 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 979 def required_flavor_params_ids @required_flavor_params_ids end |
#required_thumb_dimensions ⇒ Object
Returns the value of attribute required_thumb_dimensions.
981 982 983 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 981 def required_thumb_dimensions @required_thumb_dimensions end |
#status ⇒ Object
Returns the value of attribute status.
977 978 979 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 977 def status @status end |
#updated_at ⇒ Object
Generic distribution provider last update date as Unix timestamp (In seconds)
974 975 976 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 974 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1004 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].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['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['isDefault'] != nil self.is_default = xml_element.elements['isDefault'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['optionalFlavorParamsIds'] != nil self.optional_flavor_params_ids = xml_element.elements['optionalFlavorParamsIds'].text end if xml_element.elements['requiredFlavorParamsIds'] != nil self.required_flavor_params_ids = xml_element.elements['requiredFlavorParamsIds'].text end if xml_element.elements['optionalThumbDimensions'] != nil self.optional_thumb_dimensions = KalturaClientBase.object_from_xml(xml_element.elements['optionalThumbDimensions'], 'KalturaDistributionThumbDimensions') end if xml_element.elements['requiredThumbDimensions'] != nil self.required_thumb_dimensions = KalturaClientBase.object_from_xml(xml_element.elements['requiredThumbDimensions'], 'KalturaDistributionThumbDimensions') end if xml_element.elements['editableFields'] != nil self.editable_fields = xml_element.elements['editableFields'].text end if xml_element.elements['mandatoryFields'] != nil self.mandatory_fields = xml_element.elements['mandatoryFields'].text end end |