Class: Kaltura::KalturaPlayReadyLicenseDetails
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaPlayReadyLicenseDetails
- Defined in:
- lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb
Instance Attribute Summary collapse
-
#begin_date ⇒ Object
License begin date.
-
#expiration_date ⇒ Object
License expiration date.
-
#policy ⇒ Object
PlayReady policy object.
-
#removal_date ⇒ Object
License removal date.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#begin_date ⇒ Object
License begin date
232 233 234 |
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 232 def begin_date @begin_date end |
#expiration_date ⇒ Object
License expiration date
234 235 236 |
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 234 def expiration_date @expiration_date end |
#policy ⇒ Object
PlayReady policy object
230 231 232 |
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 230 def policy @policy end |
#removal_date ⇒ Object
License removal date
236 237 238 |
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 236 def removal_date @removal_date end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 248 def from_xml(xml_element) super if xml_element.elements['policy'] != nil self.policy = KalturaClientBase.object_from_xml(xml_element.elements['policy'], 'KalturaPlayReadyPolicy') end if xml_element.elements['beginDate'] != nil self.begin_date = xml_element.elements['beginDate'].text end if xml_element.elements['expirationDate'] != nil self.expiration_date = xml_element.elements['expirationDate'].text end if xml_element.elements['removalDate'] != nil self.removal_date = xml_element.elements['removalDate'].text end end |