Class: Kaltura::KalturaPreviewRestriction

Inherits:
KalturaSessionRestriction show all
Defined in:
lib/kaltura_types.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

#preview_lengthObject

The preview restriction length



18309
18310
18311
# File 'lib/kaltura_types.rb', line 18309

def preview_length
  @preview_length
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



18315
18316
18317
18318
18319
18320
# File 'lib/kaltura_types.rb', line 18315

def from_xml(xml_element)
	super
	if xml_element.elements['previewLength'] != nil
		self.preview_length = xml_element.elements['previewLength'].text
	end
end