class Kaltura::KalturaAccessControl
Attributes
contains_unsuported_restrictions[RW]
Indicates that the access control profile is new and should be handled using KalturaAccessControlProfile
object and accessControlProfile service
created_at[RW]
Creation date as Unix timestamp (In seconds)
description[RW]
The description of the Access Control Profile
id[RW]
The id of the Access Control Profile
is_default[RW]
True if this Conversion Profile is the default
name[RW]
The name of the Access Control Profile
partner_id[RW]
restrictions[RW]
Array of Access Control Restrictions
system_name[RW]
System name of the Access Control Profile
Public Instance Methods
contains_unsuported_restrictions=(val)
click to toggle source
# File lib/kaltura_types.rb, line 88 def contains_unsuported_restrictions=(val) @contains_unsuported_restrictions = to_b(val) end
created_at=(val)
click to toggle source
# File lib/kaltura_types.rb, line 82 def created_at=(val) @created_at = val.to_i end
from_xml(xml_element)
click to toggle source
Calls superclass method
Kaltura::KalturaObjectBase#from_xml
# 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
id=(val)
click to toggle source
# File lib/kaltura_types.rb, line 76 def id=(val) @id = val.to_i end
is_default=(val)
click to toggle source
# File lib/kaltura_types.rb, line 85 def is_default=(val) @is_default = val.to_i end
partner_id=(val)
click to toggle source
# File lib/kaltura_types.rb, line 79 def partner_id=(val) @partner_id = val.to_i end