Class: Kaltura::KalturaPermission

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.



8227
8228
8229
# File 'lib/kaltura_types.rb', line 8227

def created_at
  @created_at
end

#depends_on_permission_namesObject

Returns the value of attribute depends_on_permission_names.



8224
8225
8226
# File 'lib/kaltura_types.rb', line 8224

def depends_on_permission_names
  @depends_on_permission_names
end

#descriptionObject

Returns the value of attribute description.



8221
8222
8223
# File 'lib/kaltura_types.rb', line 8221

def description
  @description
end

#friendly_nameObject

Returns the value of attribute friendly_name.



8220
8221
8222
# File 'lib/kaltura_types.rb', line 8220

def friendly_name
  @friendly_name
end

#idObject

Returns the value of attribute id.



8217
8218
8219
# File 'lib/kaltura_types.rb', line 8217

def id
  @id
end

#nameObject

Returns the value of attribute name.



8219
8220
8221
# File 'lib/kaltura_types.rb', line 8219

def name
  @name
end

#partner_groupObject

Returns the value of attribute partner_group.



8229
8230
8231
# File 'lib/kaltura_types.rb', line 8229

def partner_group
  @partner_group
end

#partner_idObject

Returns the value of attribute partner_id.



8223
8224
8225
# File 'lib/kaltura_types.rb', line 8223

def partner_id
  @partner_id
end

#permission_items_idsObject

Returns the value of attribute permission_items_ids.



8226
8227
8228
# File 'lib/kaltura_types.rb', line 8226

def permission_items_ids
  @permission_items_ids
end

#statusObject

Returns the value of attribute status.



8222
8223
8224
# File 'lib/kaltura_types.rb', line 8222

def status
  @status
end

#tagsObject

Returns the value of attribute tags.



8225
8226
8227
# File 'lib/kaltura_types.rb', line 8225

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



8218
8219
8220
# File 'lib/kaltura_types.rb', line 8218

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



8228
8229
8230
# File 'lib/kaltura_types.rb', line 8228

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
# File 'lib/kaltura_types.rb', line 8250

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['name'] != nil
		self.name = xml_element.elements['name'].text
	end
	if xml_element.elements['friendlyName'] != nil
		self.friendly_name = xml_element.elements['friendlyName'].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['dependsOnPermissionNames'] != nil
		self.depends_on_permission_names = xml_element.elements['dependsOnPermissionNames'].text
	end
	if xml_element.elements['tags'] != nil
		self.tags = xml_element.elements['tags'].text
	end
	if xml_element.elements['permissionItemsIds'] != nil
		self.permission_items_ids = xml_element.elements['permissionItemsIds'].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['partnerGroup'] != nil
		self.partner_group = xml_element.elements['partnerGroup'].text
	end
end