Class: Kaltura::KalturaContentDistributionSearchItem

Inherits:
KalturaSearchItem show all
Defined in:
lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#distribution_profile_idObject

Returns the value of attribute distribution_profile_id.



1115
1116
1117
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1115

def distribution_profile_id
  @distribution_profile_id
end

#distribution_sun_statusObject

Returns the value of attribute distribution_sun_status.



1116
1117
1118
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1116

def distribution_sun_status
  @distribution_sun_status
end

#entry_distribution_flagObject

Returns the value of attribute entry_distribution_flag.



1117
1118
1119
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1117

def entry_distribution_flag
  @entry_distribution_flag
end

#entry_distribution_statusObject

Returns the value of attribute entry_distribution_status.



1118
1119
1120
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1118

def entry_distribution_status
  @entry_distribution_status
end

#entry_distribution_validation_errorsObject

Comma seperated validation error types



1121
1122
1123
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1121

def entry_distribution_validation_errors
  @entry_distribution_validation_errors
end

#has_entry_distribution_validation_errorsObject

Returns the value of attribute has_entry_distribution_validation_errors.



1119
1120
1121
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1119

def has_entry_distribution_validation_errors
  @has_entry_distribution_validation_errors
end

#no_distribution_profilesObject

Returns the value of attribute no_distribution_profiles.



1114
1115
1116
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1114

def no_distribution_profiles
  @no_distribution_profiles
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1142

def from_xml(xml_element)
	super
	if xml_element.elements['noDistributionProfiles'] != nil
		self.no_distribution_profiles = xml_element.elements['noDistributionProfiles'].text
	end
	if xml_element.elements['distributionProfileId'] != nil
		self.distribution_profile_id = xml_element.elements['distributionProfileId'].text
	end
	if xml_element.elements['distributionSunStatus'] != nil
		self.distribution_sun_status = xml_element.elements['distributionSunStatus'].text
	end
	if xml_element.elements['entryDistributionFlag'] != nil
		self.entry_distribution_flag = xml_element.elements['entryDistributionFlag'].text
	end
	if xml_element.elements['entryDistributionStatus'] != nil
		self.entry_distribution_status = xml_element.elements['entryDistributionStatus'].text
	end
	if xml_element.elements['hasEntryDistributionValidationErrors'] != nil
		self.has_entry_distribution_validation_errors = xml_element.elements['hasEntryDistributionValidationErrors'].text
	end
	if xml_element.elements['entryDistributionValidationErrors'] != nil
		self.entry_distribution_validation_errors = xml_element.elements['entryDistributionValidationErrors'].text
	end
end