Class: Kaltura::KalturaUserRole

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

Returns the value of attribute created_at.



10448
10449
10450
# File 'lib/kaltura_types.rb', line 10448

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



10443
10444
10445
# File 'lib/kaltura_types.rb', line 10443

def description
  @description
end

#idObject

Returns the value of attribute id.



10440
10441
10442
# File 'lib/kaltura_types.rb', line 10440

def id
  @id
end

#nameObject

Returns the value of attribute name.



10441
10442
10443
# File 'lib/kaltura_types.rb', line 10441

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



10445
10446
10447
# File 'lib/kaltura_types.rb', line 10445

def partner_id
  @partner_id
end

#permission_namesObject

Returns the value of attribute permission_names.



10446
10447
10448
# File 'lib/kaltura_types.rb', line 10446

def permission_names
  @permission_names
end

#statusObject

Returns the value of attribute status.



10444
10445
10446
# File 'lib/kaltura_types.rb', line 10444

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



10442
10443
10444
# File 'lib/kaltura_types.rb', line 10442

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



10447
10448
10449
# File 'lib/kaltura_types.rb', line 10447

def tags
  @tags
end

#updated_atObject

Returns the value of attribute updated_at.



10449
10450
10451
# File 'lib/kaltura_types.rb', line 10449

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
# File 'lib/kaltura_types.rb', line 10467

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].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['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['permissionNames'] != nil
		self.permission_names = xml_element.elements['permissionNames'].text
	end
	if xml_element.elements['tags'] != nil
		self.tags = xml_element.elements['tags'].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
end