Class: Kaltura::KalturaPermissionItem

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.



8300
8301
8302
# File 'lib/kaltura_types.rb', line 8300

def created_at
  @created_at
end

#idObject

Returns the value of attribute id.



8296
8297
8298
# File 'lib/kaltura_types.rb', line 8296

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



8298
8299
8300
# File 'lib/kaltura_types.rb', line 8298

def partner_id
  @partner_id
end

#tagsObject

Returns the value of attribute tags.



8299
8300
8301
# File 'lib/kaltura_types.rb', line 8299

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



8297
8298
8299
# File 'lib/kaltura_types.rb', line 8297

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



8301
8302
8303
# File 'lib/kaltura_types.rb', line 8301

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
# File 'lib/kaltura_types.rb', line 8316

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