Class: Kaltura::KalturaPlayReadyLicenseDetails

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#begin_dateObject

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_dateObject

License expiration date



234
235
236
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 234

def expiration_date
  @expiration_date
end

#policyObject

PlayReady policy object



230
231
232
# File 'lib/kaltura_plugins/kaltura_play_ready_client_plugin.rb', line 230

def policy
  @policy
end

#removal_dateObject

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