Class: Kaltura::KalturaYouTubeDistributionJobProviderData

Inherits:
KalturaConfigurableDistributionJobProviderData show all
Defined in:
lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaConfigurableDistributionJobProviderData

#field_values

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#caption_asset_idsObject

Returns the value of attribute caption_asset_ids.



62
63
64
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 62

def caption_asset_ids
  @caption_asset_ids
end

#captions_csv_mapObject

Returns the value of attribute captions_csv_map.



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

def captions_csv_map
  @captions_csv_map
end

#current_playlistsObject

Returns the value of attribute current_playlists.



65
66
67
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 65

def current_playlists
  @current_playlists
end

#delete_video_idsObject

Returns the value of attribute delete_video_ids.



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

def delete_video_ids
  @delete_video_ids
end

#delete_xmlObject

Returns the value of attribute delete_xml.



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

def delete_xml
  @delete_xml
end

#google_client_idObject

Returns the value of attribute google_client_id.



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

def google_client_id
  @google_client_id
end

#google_client_secretObject

Returns the value of attribute google_client_secret.



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

def google_client_secret
  @google_client_secret
end

#google_token_dataObject

Returns the value of attribute google_token_data.



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

def google_token_data
  @google_token_data
end

#new_playlistsObject

Returns the value of attribute new_playlists.



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

def new_playlists
  @new_playlists
end

#sftp_directoryObject

Returns the value of attribute sftp_directory.



63
64
65
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 63

def sftp_directory
  @sftp_directory
end

#sftp_metadata_filenameObject

Returns the value of attribute sftp_metadata_filename.



64
65
66
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 64

def 
  @sftp_metadata_filename
end

#submit_csv_mapObject

Returns the value of attribute submit_csv_map.



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

def submit_csv_map
  @submit_csv_map
end

#submit_xmlObject

Returns the value of attribute submit_xml.



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

def submit_xml
  @submit_xml
end

#thumb_asset_file_pathObject

Returns the value of attribute thumb_asset_file_path.



60
61
62
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 60

def thumb_asset_file_path
  @thumb_asset_file_path
end

#thumb_asset_idObject

Returns the value of attribute thumb_asset_id.



61
62
63
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 61

def thumb_asset_id
  @thumb_asset_id
end

#update_csv_mapObject

Returns the value of attribute update_csv_map.



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

def update_csv_map
  @update_csv_map
end

#update_xmlObject

Returns the value of attribute update_xml.



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

def update_xml
  @update_xml
end

#video_asset_file_pathObject

Returns the value of attribute video_asset_file_path.



59
60
61
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 59

def video_asset_file_path
  @video_asset_file_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



79
80
81
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# File 'lib/kaltura_plugins/kaltura_you_tube_distribution_client_plugin.rb', line 79

def from_xml(xml_element)
	super
	if xml_element.elements['videoAssetFilePath'] != nil
		self.video_asset_file_path = xml_element.elements['videoAssetFilePath'].text
	end
	if xml_element.elements['thumbAssetFilePath'] != nil
		self.thumb_asset_file_path = xml_element.elements['thumbAssetFilePath'].text
	end
	if xml_element.elements['thumbAssetId'] != nil
		self.thumb_asset_id = xml_element.elements['thumbAssetId'].text
	end
	if xml_element.elements['captionAssetIds'] != nil
		self.caption_asset_ids = xml_element.elements['captionAssetIds'].text
	end
	if xml_element.elements['sftpDirectory'] != nil
		self.sftp_directory = xml_element.elements['sftpDirectory'].text
	end
	if xml_element.elements['sftpMetadataFilename'] != nil
		self. = xml_element.elements['sftpMetadataFilename'].text
	end
	if xml_element.elements['currentPlaylists'] != nil
		self.current_playlists = xml_element.elements['currentPlaylists'].text
	end
	if xml_element.elements['newPlaylists'] != nil
		self.new_playlists = xml_element.elements['newPlaylists'].text
	end
	if xml_element.elements['submitXml'] != nil
		self.submit_xml = xml_element.elements['submitXml'].text
	end
	if xml_element.elements['updateXml'] != nil
		self.update_xml = xml_element.elements['updateXml'].text
	end
	if xml_element.elements['deleteXml'] != nil
		self.delete_xml = xml_element.elements['deleteXml'].text
	end
	if xml_element.elements['googleClientId'] != nil
		self.google_client_id = xml_element.elements['googleClientId'].text
	end
	if xml_element.elements['googleClientSecret'] != nil
		self.google_client_secret = xml_element.elements['googleClientSecret'].text
	end
	if xml_element.elements['googleTokenData'] != nil
		self.google_token_data = xml_element.elements['googleTokenData'].text
	end
	if xml_element.elements['captionsCsvMap'] != nil
		self.captions_csv_map = xml_element.elements['captionsCsvMap'].text
	end
	if xml_element.elements['submitCsvMap'] != nil
		self.submit_csv_map = xml_element.elements['submitCsvMap'].text
	end
	if xml_element.elements['updateCsvMap'] != nil
		self.update_csv_map = xml_element.elements['updateCsvMap'].text
	end
	if xml_element.elements['deleteVideoIds'] != nil
		self.delete_video_ids = xml_element.elements['deleteVideoIds'].text
	end
end