Class: Kaltura::KalturaTimeContextField
- Inherits:
-
KalturaIntegerField
- Object
- KalturaObjectBase
- KalturaValue
- KalturaIntegerValue
- KalturaIntegerField
- Kaltura::KalturaTimeContextField
- Defined in:
- lib/kaltura_types.rb
Overview
Represents the current time context on Kaltura servers
Instance Attribute Summary collapse
-
#offset ⇒ Object
Time offset in seconds since current time.
Attributes inherited from KalturaIntegerValue
Attributes inherited from KalturaValue
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#offset ⇒ Object
Time offset in seconds since current time
18912 18913 18914 |
# File 'lib/kaltura_types.rb', line 18912 def offset @offset end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
18918 18919 18920 18921 18922 18923 |
# File 'lib/kaltura_types.rb', line 18918 def from_xml(xml_element) super if xml_element.elements['offset'] != nil self.offset = xml_element.elements['offset'].text end end |