Class: Kaltura::KalturaDrmProfile

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_drm_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

#created_atObject

Returns the value of attribute created_at.



208
209
210
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 208

def created_at
  @created_at
end

#default_policyObject

Returns the value of attribute default_policy.



207
208
209
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 207

def default_policy
  @default_policy
end

#descriptionObject

Returns the value of attribute description.



203
204
205
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 203

def description
  @description
end

#idObject

Returns the value of attribute id.



200
201
202
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 200

def id
  @id
end

#license_server_urlObject

Returns the value of attribute license_server_url.



206
207
208
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 206

def license_server_url
  @license_server_url
end

#nameObject

Returns the value of attribute name.



202
203
204
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 202

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



201
202
203
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 201

def partner_id
  @partner_id
end

#providerObject

Returns the value of attribute provider.



204
205
206
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 204

def provider
  @provider
end

#signing_keyObject

Returns the value of attribute signing_key.



210
211
212
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 210

def signing_key
  @signing_key
end

#statusObject

Returns the value of attribute status.



205
206
207
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 205

def status
  @status
end

#updated_atObject

Returns the value of attribute updated_at.



209
210
211
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 209

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
263
# File 'lib/kaltura_plugins/kaltura_drm_client_plugin.rb', line 228

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