Class: Kaltura::KalturaCategoryUser
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaCategoryUser
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#category_full_ids ⇒ Object
The full ids of the Category.
-
#category_id ⇒ Object
Returns the value of attribute category_id.
-
#created_at ⇒ Object
CategoryUser creation date as Unix timestamp (In seconds).
-
#partner_id ⇒ Object
Partner id.
-
#permission_level ⇒ Object
Permission level.
-
#permission_names ⇒ Object
Set of category-related permissions for the current category user.
-
#status ⇒ Object
Status.
-
#update_method ⇒ Object
Update method can be either manual or automatic to distinguish between manual operations (for example in KMC) on automatic - using bulk upload.
-
#updated_at ⇒ Object
CategoryUser update date as Unix timestamp (In seconds).
-
#user_id ⇒ Object
User id.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#category_full_ids ⇒ Object
The full ids of the Category
1655 1656 1657 |
# File 'lib/kaltura_types.rb', line 1655 def category_full_ids @category_full_ids end |
#category_id ⇒ Object
Returns the value of attribute category_id.
1631 1632 1633 |
# File 'lib/kaltura_types.rb', line 1631 def category_id @category_id end |
#created_at ⇒ Object
CategoryUser creation date as Unix timestamp (In seconds)
1646 1647 1648 |
# File 'lib/kaltura_types.rb', line 1646 def created_at @created_at end |
#partner_id ⇒ Object
Partner id
1637 1638 1639 |
# File 'lib/kaltura_types.rb', line 1637 def partner_id @partner_id end |
#permission_level ⇒ Object
Permission level
1640 1641 1642 |
# File 'lib/kaltura_types.rb', line 1640 def @permission_level end |
#permission_names ⇒ Object
Set of category-related permissions for the current category user.
1658 1659 1660 |
# File 'lib/kaltura_types.rb', line 1658 def @permission_names end |
#status ⇒ Object
Status
1643 1644 1645 |
# File 'lib/kaltura_types.rb', line 1643 def status @status end |
#update_method ⇒ Object
Update method can be either manual or automatic to distinguish between manual operations (for example in KMC) on automatic - using bulk upload
1652 1653 1654 |
# File 'lib/kaltura_types.rb', line 1652 def update_method @update_method end |
#updated_at ⇒ Object
CategoryUser update date as Unix timestamp (In seconds)
1649 1650 1651 |
# File 'lib/kaltura_types.rb', line 1649 def updated_at @updated_at end |
#user_id ⇒ Object
User id
1634 1635 1636 |
# File 'lib/kaltura_types.rb', line 1634 def user_id @user_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 |
# File 'lib/kaltura_types.rb', line 1682 def from_xml(xml_element) super self.category_id = xml_element.elements['categoryId'].text self.user_id = xml_element.elements['userId'].text self.partner_id = xml_element.elements['partnerId'].text self. = xml_element.elements['permissionLevel'].text self.status = xml_element.elements['status'].text self.created_at = xml_element.elements['createdAt'].text self.updated_at = xml_element.elements['updatedAt'].text self.update_method = xml_element.elements['updateMethod'].text self.category_full_ids = xml_element.elements['categoryFullIds'].text self. = xml_element.elements['permissionNames'].text end |