Class: Kaltura::KalturaDailymotionDistributionProfile

Inherits:
KalturaConfigurableDistributionProfile show all
Defined in:
lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaConfigurableDistributionProfile

#field_config_array, #item_xpaths_to_extend, #use_category_entries

Attributes inherited from KalturaDistributionProfile

#auto_create_flavors, #auto_create_thumb, #created_at, #delete_enabled, #distribute_trigger, #id, #name, #optional_asset_distribution_rules, #optional_flavor_params_ids, #optional_thumb_dimensions, #partner_id, #provider_type, #recommended_dc_for_download, #recommended_dc_for_execute, #recommended_storage_profile_for_download, #report_enabled, #required_asset_distribution_rules, #required_flavor_params_ids, #required_thumb_dimensions, #status, #submit_enabled, #sunrise_default_offset, #sunset_default_offset, #support_image_entry, #update_enabled, #updated_at

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#geo_blocking_mappingObject

Returns the value of attribute geo_blocking_mapping.



141
142
143
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 141

def geo_blocking_mapping
  @geo_blocking_mapping
end

#passwordObject

Returns the value of attribute password.



140
141
142
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 140

def password
  @password
end

#userObject

Returns the value of attribute user.



139
140
141
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 139

def user
  @user
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



147
148
149
150
151
152
153
154
155
156
157
158
# File 'lib/kaltura_plugins/kaltura_dailymotion_distribution_client_plugin.rb', line 147

def from_xml(xml_element)
	super
	if xml_element.elements['user'] != nil
		self.user = xml_element.elements['user'].text
	end
	if xml_element.elements['password'] != nil
		self.password = xml_element.elements['password'].text
	end
	if xml_element.elements['geoBlockingMapping'] != nil
		self.geo_blocking_mapping = xml_element.elements['geoBlockingMapping'].text
	end
end