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
74 75 76 |
# File 'lib/kaltura_types.rb', line 74 def contains_unsuported_restrictions @contains_unsuported_restrictions end |
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds)
68 69 70 |
# File 'lib/kaltura_types.rb', line 68 def created_at @created_at end |
#description ⇒ Object
The description of the Access Control Profile
66 67 68 |
# File 'lib/kaltura_types.rb', line 66 def description @description end |
#id ⇒ Object
The id of the Access Control Profile
59 60 61 |
# File 'lib/kaltura_types.rb', line 59 def id @id end |
#is_default ⇒ Object
True if this Conversion Profile is the default
70 71 72 |
# File 'lib/kaltura_types.rb', line 70 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.
60 61 62 |
# File 'lib/kaltura_types.rb', line 60 def partner_id @partner_id end |
#restrictions ⇒ Object
Array of Access Control Restrictions
72 73 74 |
# File 'lib/kaltura_types.rb', line 72 def restrictions @restrictions end |
#system_name ⇒ Object
System name of the Access Control Profile
64 65 66 |
# File 'lib/kaltura_types.rb', line 64 def system_name @system_name end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/kaltura_types.rb', line 92 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['systemName'] != nil self.system_name = xml_element.elements['systemName'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].text end if xml_element.elements['isDefault'] != nil self.is_default = xml_element.elements['isDefault'].text end if xml_element.elements['restrictions'] != nil self.restrictions = KalturaClientBase.object_from_xml(xml_element.elements['restrictions'], 'KalturaBaseRestriction') end if xml_element.elements['containsUnsuportedRestrictions'] != nil self.contains_unsuported_restrictions = xml_element.elements['containsUnsuportedRestrictions'].text end end |