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)
980 981 982 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 980 def created_at @created_at end |
#editable_fields ⇒ Object
Returns the value of attribute editable_fields.
990 991 992 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 990 def editable_fields @editable_fields end |
#id ⇒ Object
Auto generated
978 979 980 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 978 def id @id end |
#is_default ⇒ Object
Returns the value of attribute is_default.
984 985 986 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 984 def is_default @is_default end |
#mandatory_fields ⇒ Object
Returns the value of attribute mandatory_fields.
991 992 993 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 991 def mandatory_fields @mandatory_fields end |
#optional_flavor_params_ids ⇒ Object
Returns the value of attribute optional_flavor_params_ids.
986 987 988 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 986 def optional_flavor_params_ids @optional_flavor_params_ids end |
#optional_thumb_dimensions ⇒ Object
Returns the value of attribute optional_thumb_dimensions.
988 989 990 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 988 def optional_thumb_dimensions @optional_thumb_dimensions end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
983 984 985 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 983 def partner_id @partner_id end |
#required_flavor_params_ids ⇒ Object
Returns the value of attribute required_flavor_params_ids.
987 988 989 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 987 def required_flavor_params_ids @required_flavor_params_ids end |
#required_thumb_dimensions ⇒ Object
Returns the value of attribute required_thumb_dimensions.
989 990 991 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 989 def required_thumb_dimensions @required_thumb_dimensions end |
#status ⇒ Object
Returns the value of attribute status.
985 986 987 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 985 def status @status end |
#updated_at ⇒ Object
Generic distribution provider last update date as Unix timestamp (In seconds)
982 983 984 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 982 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
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 1043 1044 1045 1046 1047 1048 1049 1050 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1012 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 |