Class: Kaltura::KalturaPermission
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaPermission
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#depends_on_permission_names ⇒ Object
Returns the value of attribute depends_on_permission_names.
-
#description ⇒ Object
Returns the value of attribute description.
-
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#partner_group ⇒ Object
Returns the value of attribute partner_group.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#permission_items_ids ⇒ Object
Returns the value of attribute permission_items_ids.
-
#status ⇒ Object
Returns the value of attribute status.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#type ⇒ Object
Returns the value of attribute type.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
4705 4706 4707 |
# File 'lib/kaltura_types.rb', line 4705 def created_at @created_at end |
#depends_on_permission_names ⇒ Object
Returns the value of attribute depends_on_permission_names.
4702 4703 4704 |
# File 'lib/kaltura_types.rb', line 4702 def @depends_on_permission_names end |
#description ⇒ Object
Returns the value of attribute description.
4699 4700 4701 |
# File 'lib/kaltura_types.rb', line 4699 def description @description end |
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
4698 4699 4700 |
# File 'lib/kaltura_types.rb', line 4698 def friendly_name @friendly_name end |
#id ⇒ Object
Returns the value of attribute id.
4695 4696 4697 |
# File 'lib/kaltura_types.rb', line 4695 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
4697 4698 4699 |
# File 'lib/kaltura_types.rb', line 4697 def name @name end |
#partner_group ⇒ Object
Returns the value of attribute partner_group.
4707 4708 4709 |
# File 'lib/kaltura_types.rb', line 4707 def partner_group @partner_group end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
4701 4702 4703 |
# File 'lib/kaltura_types.rb', line 4701 def partner_id @partner_id end |
#permission_items_ids ⇒ Object
Returns the value of attribute permission_items_ids.
4704 4705 4706 |
# File 'lib/kaltura_types.rb', line 4704 def @permission_items_ids end |
#status ⇒ Object
Returns the value of attribute status.
4700 4701 4702 |
# File 'lib/kaltura_types.rb', line 4700 def status @status end |
#tags ⇒ Object
Returns the value of attribute tags.
4703 4704 4705 |
# File 'lib/kaltura_types.rb', line 4703 def @tags end |
#type ⇒ Object
Returns the value of attribute type.
4696 4697 4698 |
# File 'lib/kaltura_types.rb', line 4696 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
4706 4707 4708 |
# File 'lib/kaltura_types.rb', line 4706 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 |
# File 'lib/kaltura_types.rb', line 4728 def from_xml(xml_element) super self.id = xml_element.elements['id'].text self.type = xml_element.elements['type'].text self.name = xml_element.elements['name'].text self.friendly_name = xml_element.elements['friendlyName'].text self.description = xml_element.elements['description'].text self.status = xml_element.elements['status'].text self.partner_id = xml_element.elements['partnerId'].text self. = xml_element.elements['dependsOnPermissionNames'].text self. = xml_element.elements['tags'].text self. = xml_element.elements['permissionItemsIds'].text self.created_at = xml_element.elements['createdAt'].text self.updated_at = xml_element.elements['updatedAt'].text self.partner_group = xml_element.elements['partnerGroup'].text end |