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.



10233
10234
10235
# File 'lib/kaltura_types.rb', line 10233

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



10228
10229
10230
# File 'lib/kaltura_types.rb', line 10228

def description
  @description
end

#idObject

Returns the value of attribute id.



10225
10226
10227
# File 'lib/kaltura_types.rb', line 10225

def id
  @id
end

#nameObject

Returns the value of attribute name.



10226
10227
10228
# File 'lib/kaltura_types.rb', line 10226

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



10230
10231
10232
# File 'lib/kaltura_types.rb', line 10230

def partner_id
  @partner_id
end

#permission_namesObject

Returns the value of attribute permission_names.



10231
10232
10233
# File 'lib/kaltura_types.rb', line 10231

def permission_names
  @permission_names
end

#statusObject

Returns the value of attribute status.



10229
10230
10231
# File 'lib/kaltura_types.rb', line 10229

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



10227
10228
10229
# File 'lib/kaltura_types.rb', line 10227

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



10232
10233
10234
# File 'lib/kaltura_types.rb', line 10232

def tags
  @tags
end

#updated_atObject

Returns the value of attribute updated_at.



10234
10235
10236
# File 'lib/kaltura_types.rb', line 10234

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
# File 'lib/kaltura_types.rb', line 10252

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