Class: Kaltura::KalturaDrmProfile
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaDrmProfile
- Defined in:
- lib/kaltura_plugins/kaltura_drm_client_plugin.rb
Direct Known Subclasses
KalturaFairplayDrmProfile, KalturaPlayReadyProfile, KalturaWidevineProfile
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#default_policy ⇒ Object
Returns the value of attribute default_policy.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#license_server_url ⇒ Object
Returns the value of attribute license_server_url.
-
#name ⇒ Object
Returns the value of attribute name.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#provider ⇒ Object
Returns the value of attribute provider.
-
#signing_key ⇒ Object
Returns the value of attribute signing_key.
-
#status ⇒ Object
Returns the value of attribute status.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
207 208 209 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 207 def created_at @created_at end |
#default_policy ⇒ Object
Returns the value of attribute default_policy.
206 207 208 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 206 def default_policy @default_policy end |
#description ⇒ Object
Returns the value of attribute description.
202 203 204 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 202 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
199 200 201 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 199 def id @id end |
#license_server_url ⇒ Object
Returns the value of attribute license_server_url.
205 206 207 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 205 def license_server_url @license_server_url end |
#name ⇒ Object
Returns the value of attribute name.
201 202 203 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 201 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
200 201 202 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 200 def partner_id @partner_id end |
#provider ⇒ Object
Returns the value of attribute provider.
203 204 205 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 203 def provider @provider end |
#signing_key ⇒ Object
Returns the value of attribute signing_key.
209 210 211 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 209 def signing_key @signing_key end |
#status ⇒ Object
Returns the value of attribute status.
204 205 206 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 204 def status @status end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
208 209 210 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 208 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 227 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].text end if xml_element.elements['provider'] != nil self.provider = xml_element.elements['provider'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['licenseServerUrl'] != nil self.license_server_url = xml_element.elements['licenseServerUrl'].text end if xml_element.elements['defaultPolicy'] != nil self.default_policy = xml_element.elements['defaultPolicy'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].text end if xml_element.elements['updatedAt'] != nil self.updated_at = xml_element.elements['updatedAt'].text end if xml_element.elements['signingKey'] != nil self.signing_key = xml_element.elements['signingKey'].text end end |