Class: Kaltura::KalturaAccessControlProfile

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

Creation time as Unix timestamp (In seconds)



275
276
277
# File 'lib/kaltura_types.rb', line 275

def created_at
  @created_at
end

#descriptionObject

The description of the Access Control Profile



273
274
275
# File 'lib/kaltura_types.rb', line 273

def description
  @description
end

#idObject

The id of the Access Control Profile



266
267
268
# File 'lib/kaltura_types.rb', line 266

def id
  @id
end

#is_defaultObject

True if this access control profile is the partner default



279
280
281
# File 'lib/kaltura_types.rb', line 279

def is_default
  @is_default
end

#nameObject

The name of the Access Control Profile



269
270
271
# File 'lib/kaltura_types.rb', line 269

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



267
268
269
# File 'lib/kaltura_types.rb', line 267

def partner_id
  @partner_id
end

#rulesObject

Array of access control rules



281
282
283
# File 'lib/kaltura_types.rb', line 281

def rules
  @rules
end

#system_nameObject

System name of the Access Control Profile



271
272
273
# File 'lib/kaltura_types.rb', line 271

def system_name
  @system_name
end

#updated_atObject

Update time as Unix timestamp (In seconds)



277
278
279
# File 'lib/kaltura_types.rb', line 277

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
# File 'lib/kaltura_types.rb', line 299

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['systemName'] != nil
		self.system_name = xml_element.elements['systemName'].text
	end
	if xml_element.elements['description'] != nil
		self.description = xml_element.elements['description'].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['isDefault'] != nil
		self.is_default = xml_element.elements['isDefault'].text
	end
	if xml_element.elements['rules'] != nil
		self.rules = KalturaClientBase.object_from_xml(xml_element.elements['rules'], 'KalturaRule')
	end
end