Class: Kaltura::KalturaAccessControl
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaAccessControl
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#contains_unsuported_restrictions ⇒ Object
Indicates that the access control profile is new and should be handled using KalturaAccessControlProfile object and accessControlProfile service.
-
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds).
-
#description ⇒ Object
The description of the Access Control Profile.
-
#id ⇒ Object
The id of the Access Control Profile.
-
#is_default ⇒ Object
True if this Conversion Profile is the default.
-
#name ⇒ Object
The name of the Access Control Profile.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#restrictions ⇒ Object
Array of Access Control Restrictions.
-
#system_name ⇒ Object
System name of the Access Control Profile.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#contains_unsuported_restrictions ⇒ Object
Indicates that the access control profile is new and should be handled using KalturaAccessControlProfile object and accessControlProfile service
80 81 82 |
# File 'lib/kaltura_types.rb', line 80 def contains_unsuported_restrictions @contains_unsuported_restrictions end |
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds)
71 72 73 |
# File 'lib/kaltura_types.rb', line 71 def created_at @created_at end |
#description ⇒ Object
The description of the Access Control Profile
68 69 70 |
# File 'lib/kaltura_types.rb', line 68 def description @description end |
#id ⇒ Object
The id of the Access Control Profile
58 59 60 |
# File 'lib/kaltura_types.rb', line 58 def id @id end |
#is_default ⇒ Object
True if this Conversion Profile is the default
74 75 76 |
# File 'lib/kaltura_types.rb', line 74 def is_default @is_default end |
#name ⇒ Object
The name of the Access Control Profile
62 63 64 |
# File 'lib/kaltura_types.rb', line 62 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
59 60 61 |
# File 'lib/kaltura_types.rb', line 59 def partner_id @partner_id end |
#restrictions ⇒ Object
Array of Access Control Restrictions
77 78 79 |
# File 'lib/kaltura_types.rb', line 77 def restrictions @restrictions end |
#system_name ⇒ Object
System name of the Access Control Profile
65 66 67 |
# File 'lib/kaltura_types.rb', line 65 def system_name @system_name end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/kaltura_types.rb', line 98 def from_xml(xml_element) super self.id = xml_element.elements['id'].text self.partner_id = xml_element.elements['partnerId'].text self.name = xml_element.elements['name'].text self.system_name = xml_element.elements['systemName'].text self.description = xml_element.elements['description'].text self.created_at = xml_element.elements['createdAt'].text self.is_default = xml_element.elements['isDefault'].text self.restrictions = KalturaClientBase.object_from_xml(xml_element.elements['restrictions'], 'KalturaBaseRestriction') self.contains_unsuported_restrictions = xml_element.elements['containsUnsuportedRestrictions'].text end |