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.
7805 7806 7807 |
# File 'lib/kaltura_types.rb', line 7805 def created_at @created_at end |
#depends_on_permission_names ⇒ Object
Returns the value of attribute depends_on_permission_names.
7802 7803 7804 |
# File 'lib/kaltura_types.rb', line 7802 def @depends_on_permission_names end |
#description ⇒ Object
Returns the value of attribute description.
7799 7800 7801 |
# File 'lib/kaltura_types.rb', line 7799 def description @description end |
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
7798 7799 7800 |
# File 'lib/kaltura_types.rb', line 7798 def friendly_name @friendly_name end |
#id ⇒ Object
Returns the value of attribute id.
7795 7796 7797 |
# File 'lib/kaltura_types.rb', line 7795 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
7797 7798 7799 |
# File 'lib/kaltura_types.rb', line 7797 def name @name end |
#partner_group ⇒ Object
Returns the value of attribute partner_group.
7807 7808 7809 |
# File 'lib/kaltura_types.rb', line 7807 def partner_group @partner_group end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
7801 7802 7803 |
# File 'lib/kaltura_types.rb', line 7801 def partner_id @partner_id end |
#permission_items_ids ⇒ Object
Returns the value of attribute permission_items_ids.
7804 7805 7806 |
# File 'lib/kaltura_types.rb', line 7804 def @permission_items_ids end |
#status ⇒ Object
Returns the value of attribute status.
7800 7801 7802 |
# File 'lib/kaltura_types.rb', line 7800 def status @status end |
#tags ⇒ Object
Returns the value of attribute tags.
7803 7804 7805 |
# File 'lib/kaltura_types.rb', line 7803 def @tags end |
#type ⇒ Object
Returns the value of attribute type.
7796 7797 7798 |
# File 'lib/kaltura_types.rb', line 7796 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
7806 7807 7808 |
# File 'lib/kaltura_types.rb', line 7806 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 |
# File 'lib/kaltura_types.rb', line 7828 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. = xml_element.elements['dependsOnPermissionNames'].text end if xml_element.elements['tags'] != nil self. = xml_element.elements['tags'].text end if xml_element.elements['permissionItemsIds'] != nil self. = 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 |