Class: Kaltura::KalturaPreviewRestriction
- Inherits:
-
KalturaSessionRestriction
- Object
- KalturaObjectBase
- KalturaBaseRestriction
- KalturaSessionRestriction
- Kaltura::KalturaPreviewRestriction
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#preview_length ⇒ Object
The preview restriction length.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#preview_length ⇒ Object
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 |