Class: Kaltura::KalturaWidevineProfile

Inherits:
KalturaDrmProfile show all
Defined in:
lib/kaltura_plugins/kaltura_widevine_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaDrmProfile

#created_at, #default_policy, #description, #id, #license_server_url, #name, #partner_id, #provider, #signing_key, #status, #updated_at

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#ivObject

Returns the value of attribute iv.



63
64
65
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 63

def iv
  @iv
end

#keyObject

Returns the value of attribute key.



62
63
64
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 62

def key
  @key
end

#max_gopObject

Returns the value of attribute max_gop.



66
67
68
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 66

def max_gop
  @max_gop
end

#ownerObject

Returns the value of attribute owner.



64
65
66
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 64

def owner
  @owner
end

#portalObject

Returns the value of attribute portal.



65
66
67
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 65

def portal
  @portal
end

#reg_server_hostObject

Returns the value of attribute reg_server_host.



67
68
69
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 67

def reg_server_host
  @reg_server_host
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# File 'lib/kaltura_plugins/kaltura_widevine_client_plugin.rb', line 73

def from_xml(xml_element)
	super
	if xml_element.elements['key'] != nil
		self.key = xml_element.elements['key'].text
	end
	if xml_element.elements['iv'] != nil
		self.iv = xml_element.elements['iv'].text
	end
	if xml_element.elements['owner'] != nil
		self.owner = xml_element.elements['owner'].text
	end
	if xml_element.elements['portal'] != nil
		self.portal = xml_element.elements['portal'].text
	end
	if xml_element.elements['maxGop'] != nil
		self.max_gop = xml_element.elements['maxGop'].text
	end
	if xml_element.elements['regServerHost'] != nil
		self.reg_server_host = xml_element.elements['regServerHost'].text
	end
end