Class: Kaltura::KalturaHuluDistributionProfile

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

#aspera_hostObject

Returns the value of attribute aspera_host.



95
96
97
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 95

def aspera_host
  @aspera_host
end

#aspera_loginObject

Returns the value of attribute aspera_login.



96
97
98
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 96

def 
  @aspera_login
end

#aspera_passObject

Returns the value of attribute aspera_pass.



97
98
99
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 97

def aspera_pass
  @aspera_pass
end

#aspera_private_keyObject

Returns the value of attribute aspera_private_key.



101
102
103
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 101

def aspera_private_key
  @aspera_private_key
end

#aspera_public_keyObject

Returns the value of attribute aspera_public_key.



100
101
102
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 100

def aspera_public_key
  @aspera_public_key
end

#disable_episode_number_custom_validationObject

Returns the value of attribute disable_episode_number_custom_validation.



93
94
95
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 93

def disable_episode_number_custom_validation
  @disable_episode_number_custom_validation
end

#passphraseObject

Returns the value of attribute passphrase.



99
100
101
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 99

def passphrase
  @passphrase
end

#portObject

Returns the value of attribute port.



98
99
100
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 98

def port
  @port
end

#protocolObject

Returns the value of attribute protocol.



94
95
96
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 94

def protocol
  @protocol
end

#season_numberObject

Returns the value of attribute season_number.



89
90
91
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 89

def season_number
  @season_number
end

#season_synopsisObject

Returns the value of attribute season_synopsis.



90
91
92
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 90

def season_synopsis
  @season_synopsis
end

#season_tune_in_informationObject

Returns the value of attribute season_tune_in_information.



91
92
93
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 91

def season_tune_in_information
  @season_tune_in_information
end

#series_additional_categoriesObject

Returns the value of attribute series_additional_categories.



88
89
90
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 88

def series_additional_categories
  @series_additional_categories
end

#series_channelObject

Returns the value of attribute series_channel.



86
87
88
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 86

def series_channel
  @series_channel
end

#series_primary_categoryObject

Returns the value of attribute series_primary_category.



87
88
89
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 87

def series_primary_category
  @series_primary_category
end

#sftp_hostObject

Returns the value of attribute sftp_host.



83
84
85
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 83

def sftp_host
  @sftp_host
end

#sftp_loginObject

Returns the value of attribute sftp_login.



84
85
86
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 84

def 
  @sftp_login
end

#sftp_passObject

Returns the value of attribute sftp_pass.



85
86
87
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 85

def sftp_pass
  @sftp_pass
end

#video_media_typeObject

Returns the value of attribute video_media_type.



92
93
94
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 92

def video_media_type
  @video_media_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 113

def from_xml(xml_element)
	super
	if xml_element.elements['sftpHost'] != nil
		self.sftp_host = xml_element.elements['sftpHost'].text
	end
	if xml_element.elements['sftpLogin'] != nil
		self. = xml_element.elements['sftpLogin'].text
	end
	if xml_element.elements['sftpPass'] != nil
		self.sftp_pass = xml_element.elements['sftpPass'].text
	end
	if xml_element.elements['seriesChannel'] != nil
		self.series_channel = xml_element.elements['seriesChannel'].text
	end
	if xml_element.elements['seriesPrimaryCategory'] != nil
		self.series_primary_category = xml_element.elements['seriesPrimaryCategory'].text
	end
	if xml_element.elements['seriesAdditionalCategories'] != nil
		self.series_additional_categories = KalturaClientBase.object_from_xml(xml_element.elements['seriesAdditionalCategories'], 'KalturaString')
	end
	if xml_element.elements['seasonNumber'] != nil
		self.season_number = xml_element.elements['seasonNumber'].text
	end
	if xml_element.elements['seasonSynopsis'] != nil
		self.season_synopsis = xml_element.elements['seasonSynopsis'].text
	end
	if xml_element.elements['seasonTuneInInformation'] != nil
		self.season_tune_in_information = xml_element.elements['seasonTuneInInformation'].text
	end
	if xml_element.elements['videoMediaType'] != nil
		self.video_media_type = xml_element.elements['videoMediaType'].text
	end
	if xml_element.elements['disableEpisodeNumberCustomValidation'] != nil
		self.disable_episode_number_custom_validation = xml_element.elements['disableEpisodeNumberCustomValidation'].text
	end
	if xml_element.elements['protocol'] != nil
		self.protocol = xml_element.elements['protocol'].text
	end
	if xml_element.elements['asperaHost'] != nil
		self.aspera_host = xml_element.elements['asperaHost'].text
	end
	if xml_element.elements['asperaLogin'] != nil
		self. = xml_element.elements['asperaLogin'].text
	end
	if xml_element.elements['asperaPass'] != nil
		self.aspera_pass = xml_element.elements['asperaPass'].text
	end
	if xml_element.elements['port'] != nil
		self.port = xml_element.elements['port'].text
	end
	if xml_element.elements['passphrase'] != nil
		self.passphrase = xml_element.elements['passphrase'].text
	end
	if xml_element.elements['asperaPublicKey'] != nil
		self.aspera_public_key = xml_element.elements['asperaPublicKey'].text
	end
	if xml_element.elements['asperaPrivateKey'] != nil
		self.aspera_private_key = xml_element.elements['asperaPrivateKey'].text
	end
end