Class: Kaltura::KalturaMsnDistributionProfile

Inherits:
KalturaConfigurableDistributionProfile show all
Defined in:
lib/kaltura_plugins/kaltura_msn_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

#cs_idObject

Returns the value of attribute cs_id.



69
70
71
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 69

def cs_id
  @cs_id
end

#domainObject

Returns the value of attribute domain.



68
69
70
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 68

def domain
  @domain
end

#flv_flavor_params_idObject

Returns the value of attribute flv_flavor_params_id.



75
76
77
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 75

def flv_flavor_params_id
  @flv_flavor_params_id
end

#msnvideo_catObject

Returns the value of attribute msnvideo_cat.



78
79
80
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 78

def msnvideo_cat
  @msnvideo_cat
end

#msnvideo_topObject

Returns the value of attribute msnvideo_top.



79
80
81
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 79

def msnvideo_top
  @msnvideo_top
end

#msnvideo_top_catObject

Returns the value of attribute msnvideo_top_cat.



80
81
82
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 80

def msnvideo_top_cat
  @msnvideo_top_cat
end

#page_groupObject

Returns the value of attribute page_group.



72
73
74
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 72

def page_group
  @page_group
end

#passwordObject

Returns the value of attribute password.



67
68
69
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 67

def password
  @password
end

#sl_flavor_params_idObject

Returns the value of attribute sl_flavor_params_id.



76
77
78
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 76

def sl_flavor_params_id
  @sl_flavor_params_id
end

#sl_hd_flavor_params_idObject

Returns the value of attribute sl_hd_flavor_params_id.



77
78
79
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 77

def sl_hd_flavor_params_id
  @sl_hd_flavor_params_id
end

#sourceObject

Returns the value of attribute source.



70
71
72
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 70

def source
  @source
end

#source_flavor_params_idObject

Returns the value of attribute source_flavor_params_id.



73
74
75
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 73

def source_flavor_params_id
  @source_flavor_params_id
end

#source_friendly_nameObject

Returns the value of attribute source_friendly_name.



71
72
73
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 71

def source_friendly_name
  @source_friendly_name
end

#usernameObject

Returns the value of attribute username.



66
67
68
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 66

def username
  @username
end

#wmv_flavor_params_idObject

Returns the value of attribute wmv_flavor_params_id.



74
75
76
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 74

def wmv_flavor_params_id
  @wmv_flavor_params_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# File 'lib/kaltura_plugins/kaltura_msn_distribution_client_plugin.rb', line 98

def from_xml(xml_element)
	super
	if xml_element.elements['username'] != nil
		self.username = xml_element.elements['username'].text
	end
	if xml_element.elements['password'] != nil
		self.password = xml_element.elements['password'].text
	end
	if xml_element.elements['domain'] != nil
		self.domain = xml_element.elements['domain'].text
	end
	if xml_element.elements['csId'] != nil
		self.cs_id = xml_element.elements['csId'].text
	end
	if xml_element.elements['source'] != nil
		self.source = xml_element.elements['source'].text
	end
	if xml_element.elements['sourceFriendlyName'] != nil
		self.source_friendly_name = xml_element.elements['sourceFriendlyName'].text
	end
	if xml_element.elements['pageGroup'] != nil
		self.page_group = xml_element.elements['pageGroup'].text
	end
	if xml_element.elements['sourceFlavorParamsId'] != nil
		self.source_flavor_params_id = xml_element.elements['sourceFlavorParamsId'].text
	end
	if xml_element.elements['wmvFlavorParamsId'] != nil
		self.wmv_flavor_params_id = xml_element.elements['wmvFlavorParamsId'].text
	end
	if xml_element.elements['flvFlavorParamsId'] != nil
		self.flv_flavor_params_id = xml_element.elements['flvFlavorParamsId'].text
	end
	if xml_element.elements['slFlavorParamsId'] != nil
		self.sl_flavor_params_id = xml_element.elements['slFlavorParamsId'].text
	end
	if xml_element.elements['slHdFlavorParamsId'] != nil
		self.sl_hd_flavor_params_id = xml_element.elements['slHdFlavorParamsId'].text
	end
	if xml_element.elements['msnvideoCat'] != nil
		self.msnvideo_cat = xml_element.elements['msnvideoCat'].text
	end
	if xml_element.elements['msnvideoTop'] != nil
		self.msnvideo_top = xml_element.elements['msnvideoTop'].text
	end
	if xml_element.elements['msnvideoTopCat'] != nil
		self.msnvideo_top_cat = xml_element.elements['msnvideoTopCat'].text
	end
end