Class: Kaltura::KalturaPlayReadyPolicy
- Inherits:
-
KalturaDrmPolicy
- Object
- KalturaObjectBase
- KalturaDrmPolicy
- Kaltura::KalturaPlayReadyPolicy
- Defined in:
- lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb
Instance Attribute Summary collapse
-
#grace_period ⇒ Object
Returns the value of attribute grace_period.
-
#license_removal_duration ⇒ Object
Returns the value of attribute license_removal_duration.
-
#license_removal_policy ⇒ Object
Returns the value of attribute license_removal_policy.
-
#min_security_level ⇒ Object
Returns the value of attribute min_security_level.
-
#rights ⇒ Object
Returns the value of attribute rights.
Attributes inherited from KalturaDrmPolicy
#created_at, #description, #duration, #id, #license_expiration_policy, #license_params, #license_type, #name, #partner_id, #provider, #scenario, #status, #system_name, #updated_at
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#grace_period ⇒ Object
Returns the value of attribute grace_period.
188 189 190 |
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 188 def grace_period @grace_period end |
#license_removal_duration ⇒ Object
Returns the value of attribute license_removal_duration.
190 191 192 |
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 190 def license_removal_duration @license_removal_duration end |
#license_removal_policy ⇒ Object
Returns the value of attribute license_removal_policy.
189 190 191 |
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 189 def license_removal_policy @license_removal_policy end |
#min_security_level ⇒ Object
Returns the value of attribute min_security_level.
191 192 193 |
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 191 def min_security_level @min_security_level end |
#rights ⇒ Object
Returns the value of attribute rights.
192 193 194 |
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 192 def rights @rights end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 |
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 207 def from_xml(xml_element) super if xml_element.elements['gracePeriod'] != nil self.grace_period = xml_element.elements['gracePeriod'].text end if xml_element.elements['licenseRemovalPolicy'] != nil self.license_removal_policy = xml_element.elements['licenseRemovalPolicy'].text end if xml_element.elements['licenseRemovalDuration'] != nil self.license_removal_duration = xml_element.elements['licenseRemovalDuration'].text end if xml_element.elements['minSecurityLevel'] != nil self.min_security_level = xml_element.elements['minSecurityLevel'].text end if xml_element.elements['rights'] != nil self.rights = KalturaClientBase.object_from_xml(xml_element.elements['rights'], 'KalturaPlayReadyRight') end end |