Class: Kaltura::KalturaSystemPartnerUsageFilter
- Inherits:
-
KalturaFilter
- Object
- KalturaObjectBase
- KalturaFilter
- Kaltura::KalturaSystemPartnerUsageFilter
- Defined in:
- lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb
Instance Attribute Summary collapse
-
#from_date ⇒ Object
Date range from.
-
#timezone_offset ⇒ Object
Time zone offset.
-
#to_date ⇒ Object
Date range to.
Attributes inherited from KalturaFilter
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#from_date ⇒ Object
Date range from
208 209 210 |
# File 'lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb', line 208 def from_date @from_date end |
#timezone_offset ⇒ Object
Time zone offset
212 213 214 |
# File 'lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb', line 212 def timezone_offset @timezone_offset end |
#to_date ⇒ Object
Date range to
210 211 212 |
# File 'lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb', line 210 def to_date @to_date end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
224 225 226 227 228 229 230 231 232 233 234 235 |
# File 'lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb', line 224 def from_xml(xml_element) super if xml_element.elements['fromDate'] != nil self.from_date = xml_element.elements['fromDate'].text end if xml_element.elements['toDate'] != nil self.to_date = xml_element.elements['toDate'].text end if xml_element.elements['timezoneOffset'] != nil self.timezone_offset = xml_element.elements['timezoneOffset'].text end end |