Class: Kaltura::KalturaMetroPcsDistributionProfile

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

Returns the value of attribute copyright.



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

def copyright
  @copyright
end

#entitlementsObject

Returns the value of attribute entitlements.



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

def entitlements
  @entitlements
end

#ftp_hostObject

Returns the value of attribute ftp_host.



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

def ftp_host
  @ftp_host
end

#ftp_loginObject

Returns the value of attribute ftp_login.



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

def 
  @ftp_login
end

#ftp_passObject

Returns the value of attribute ftp_pass.



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

def ftp_pass
  @ftp_pass
end

#ftp_pathObject

Returns the value of attribute ftp_path.



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

def ftp_path
  @ftp_path
end

#item_typeObject

Returns the value of attribute item_type.



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

def item_type
  @item_type
end

#provider_idObject

Returns the value of attribute provider_id.



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

def provider_id
  @provider_id
end

#provider_nameObject

Returns the value of attribute provider_name.



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

def provider_name
  @provider_name
end

#ratingObject

Returns the value of attribute rating.



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

def rating
  @rating
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# File 'lib/kaltura_plugins/kaltura_metro_pcs_distribution_client_plugin.rb', line 82

def from_xml(xml_element)
	super
	if xml_element.elements['ftpHost'] != nil
		self.ftp_host = xml_element.elements['ftpHost'].text
	end
	if xml_element.elements['ftpLogin'] != nil
		self. = xml_element.elements['ftpLogin'].text
	end
	if xml_element.elements['ftpPass'] != nil
		self.ftp_pass = xml_element.elements['ftpPass'].text
	end
	if xml_element.elements['ftpPath'] != nil
		self.ftp_path = xml_element.elements['ftpPath'].text
	end
	if xml_element.elements['providerName'] != nil
		self.provider_name = xml_element.elements['providerName'].text
	end
	if xml_element.elements['providerId'] != nil
		self.provider_id = xml_element.elements['providerId'].text
	end
	if xml_element.elements['copyright'] != nil
		self.copyright = xml_element.elements['copyright'].text
	end
	if xml_element.elements['entitlements'] != nil
		self.entitlements = xml_element.elements['entitlements'].text
	end
	if xml_element.elements['rating'] != nil
		self.rating = xml_element.elements['rating'].text
	end
	if xml_element.elements['itemType'] != nil
		self.item_type = xml_element.elements['itemType'].text
	end
end