Class: Kaltura::KalturaTimeContextField

Inherits:
KalturaIntegerField show all
Defined in:
lib/kaltura_types.rb

Overview

Represents the current time context on Kaltura servers

Instance Attribute Summary collapse

Attributes inherited from KalturaIntegerValue

#value

Attributes inherited from KalturaValue

#description

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#offsetObject

Time offset in seconds since current time



19581
19582
19583
# File 'lib/kaltura_types.rb', line 19581

def offset
  @offset
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



19587
19588
19589
19590
19591
19592
# File 'lib/kaltura_types.rb', line 19587

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