Class: Kaltura::KalturaDistributionFieldConfig

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

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type

Method Summary

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#entry_mrss_xsltObject

An XSLT string that extracts the right value from the Kaltura entry MRSS XML.

The value of the current connector field will be the one that is returned from transforming the Kaltura entry MRSS XML using this XSLT string.


244
245
246
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 244

def entry_mrss_xslt
  @entry_mrss_xslt
end

#field_nameObject

A value taken from a connector field enum which associates the current configuration to that connector field

Field enum class should be returned by the provider's getFieldEnumClass function.


237
238
239
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 237

def field_name
  @field_name
end

#is_defaultObject

Is this field config is the default for the distribution provider?



256
257
258
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 256

def is_default
  @is_default
end

#is_requiredObject

Is the field required to have a value for submission ?



247
248
249
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 247

def is_required
  @is_required
end

#update_on_changeObject

Trigger distribution update when this field changes or not ?



250
251
252
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 250

def update_on_change
  @update_on_change
end

#update_paramsObject

Entry column or metadata xpath that should trigger an update



253
254
255
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 253

def update_params
  @update_params
end

#user_friendly_field_nameObject

A string that will be shown to the user as the field name in error messages related to the current field



240
241
242
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 240

def user_friendly_field_name
  @user_friendly_field_name
end